spec/model/queries_spec.rb in architect4r-0.4.1 vs spec/model/queries_spec.rb in architect4r-0.4.2
- old
+ new
@@ -5,9 +5,10 @@
subject { Person }
describe "fetching a node" do
it { should respond_to(:find_by_id) }
+ it { should respond_to(:find) }
it "should find a node based on its id" do
person = Person.create(:name => 'Agent Smith', :human => false)
person.should be_persisted