Skip to content
Browse files

new_record? not new?, new? belongs to Sequel already

  • Loading branch information...
1 parent e0c44b8 commit 32aea648711eb1895c5ca2e68a0126c9b5560f69 @lholden lholden committed Dec 22, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 merb_sequel/spec/sequel_ext_spec.rb
View
4 merb_sequel/spec/sequel_ext_spec.rb
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + "/spec_helper"
-describe 'Sequel::Model#new?' do
+describe 'Sequel::Model#new_record?' do
before(:each) do
spec_model_up
end
@@ -10,7 +10,7 @@
end
it "is defined" do
- SpecModel.instance_methods.should include 'new?'
+ SpecModel.instance_methods.should include 'new_record?'
end
it "Returns true or new model" do

0 comments on commit 32aea64

Please sign in to comment.
Something went wrong with that request. Please try again.