Skip to content

Commit

Permalink
Merge pull request #543 from rspec/remove-manual-fence-posts
Browse files Browse the repository at this point in the history
Remove manual fence posts
  • Loading branch information
myronmarston committed May 6, 2014
2 parents cd5e702 + f2d28d2 commit 24c0fb8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/rspec/matchers/built_in/change.rb
Expand Up @@ -40,7 +40,6 @@ def does_not_match?(event_proc, &block)

unless matches_before?
RSpec.warn_deprecation(<<-EOS.gsub(/^\s+\|/, ''))
|--------------------------------------------------------------------
|The semantics of `expect { }.not_to change { }.from()` are changing
|in RSpec 3. In RSpec 2.x, this would pass if the value changed but
|the starting value was not what you specified with `from()`. In
Expand All @@ -49,7 +48,6 @@ def does_not_match?(event_proc, &block)
|
|You have an expectation that relies upon the old RSpec 2.x semantics
|at: #{CallerFilter.first_non_rspec_line}"
|--------------------------------------------------------------------
EOS
end

Expand Down

0 comments on commit 24c0fb8

Please sign in to comment.