Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 32aea648711eb1895c5ca2e68a0126c9b5560f69 1 parent e0c44b8
@lholden lholden authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.