Skip to content

Commit

Permalink
More cross-module calling
Browse files Browse the repository at this point in the history
  • Loading branch information
cheerfulstoic committed Sep 14, 2014
1 parent 9f4f58d commit 9228758
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/unit/validation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def self.model_name
o.stub(:_persisted_obj).and_return(nil)
clazz.stub(:cached_class?).and_return(false)
clazz.should_receive(:neo4j_session).and_return(session)
clazz.should_receive(:id_property_info)
node.should_receive(:props).and_return(name: 'kalle2', age: '43')
session.should_receive(:create_node).with({name: 'kalle', age: 42}, :MyClass).and_return(node)
o.should_receive(:init_on_load).with(node, age: "43", name: "kalle2")
Expand Down

0 comments on commit 9228758

Please sign in to comment.