Skip to content

Commit

Permalink
weird issue running rspec in 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
yonbergman committed Sep 26, 2014
1 parent 6301937 commit c1dd782
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/enumify/enum_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,9 @@ class ModelAllowingNil < ActiveRecord::Base
it "should always return the enums value as a symbol" do
expect {
@obj.status = "canceled"
}.to change{@obj.status}
.from(:available)
.to(:canceled)
}.to change{
@obj.status
}.from(:available).to(:canceled)
end

end
Expand Down

0 comments on commit c1dd782

Please sign in to comment.