Permalink
Browse files

Since the spec is about #new_record? it makes sense to test #new_reco…

…rd? ;)
  • Loading branch information...
1 parent eae0e56 commit 7130497d79206bd53d2b403bbe4ae6bb533d9f77 @jdunphy jdunphy committed Dec 22, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 merb_sequel/spec/sequel_ext_spec.rb
@@ -9,8 +9,8 @@
it "Returns true or new model" do
a = SpecModel.new
- a.should be_new
+ a.should be_new_record
a.save
- a.should_not be_new
+ a.should_not be_new_record
end
end

0 comments on commit 7130497

Please sign in to comment.