search for: subclass_2

Displaying 1 result from an estimated 1 matches for "subclass_2".

Did you mean: subclass_1
2007 Dec 11
3
Transactional/Rollback problems
...ot;should have one user" do User.count.should == 1 end end end escher: rake db:test:prepare (in /Users/smt/src/web/urbis/trunk) escher: ./script/spec spec/models/no_rollback_issue_spec.rb .F 1) ''Rollback issue 2 should have one user (Spec::Rails::Example::ModelExampleGroup::Subclass_2)'' FAILED expected: 1, got: 2 (using ==) ./spec/models/no_rollback_issue_spec.rb:19: ./script/spec:4: Finished in 0.343708 seconds 2 examples, 1 failure But, commenting out the user creation if the first description block allows the test to pass: escher: rake db:test:prepare; ....