# File lib/rspec/expectations/expectation_target.rb, line 52 def self.enable_deprecated_should return if deprecated_should_enabled? def should(*args) RSpec.deprecate "`expect { }.should`", "`expect { }.to`", 3 @target.should(*args) end def should_not(*args) RSpec.deprecate "`expect { }.should_not`", "`expect { }.to_not`", 3 @target.should_not(*args) end self.deprecated_should_enabled = true end