Displaying 1 result from an estimated 1 matches for "ec5e943f".
Did you mean:
545e943f
2007 May 03
1
unexpected failures with --reverse
...ils with --reverse. What am I missing?
I''m using the plugin versions of both rspec and rspec_on_rails 0.9.2.
Here is the offending spec (Bill is an ActiveRecord model in a Rails app):
----------
describe Bill, " when valid" do
def valid_bill_attributes
{ :uuid => "ec5e943f-a819-433b-b786-ee847bb144e2",
:date => Date.today,
:amount => Money.new(15000) }
end
it "should have a uuid" do
bill = Bill.create(valid_bill_attributes)
bill.uuid = nil
bill.should have(2).errors_on(:uuid)
end
it "should have a uuid that...