dchelimsky/rspec — Issue #53: RSpec::Matchers::Change with from(true).to(false) change
Author: ngan
Created: 2012-02-17 05:05:17+00:00
State: open

```
require 'spec_helper'

describe RSpec::Matchers::Change do
it "passes successfully wrong change" do
@a = true
lambda {
@a = 1
}.should change { @a }.from(true).to(false)
end
end
```

That test should fail, but it passes. This bug was also affecting rspec 2, but was fixed with https://github.com/rspec/rspec-expectations/commit/ecd24f595d7e785dcc9abf60bd0489bb41f5a12d. Any chance of back porting it?