# File lib/shoulda/macros.rb, line 102
102:     def should_not_change(description, &block)
103:       ::ActiveSupport::Deprecation.warn("Not considered a useful test. Instead, test the end state explicitly.")
104:       before = lambda { @_before_should_not_change = block.bind(self).call }
105:       should "not change #{description}", :before => before do
106:         new_value = block.bind(self).call
107:         assert_equal @_before_should_not_change, new_value, "#{description} changed"
108:       end
109:     end