spec/germinate/insertion_spec.rb in devver-germinate-1.1.0 vs spec/germinate/insertion_spec.rb in devver-germinate-1.2.0
- old
+ new
@@ -9,10 +9,11 @@
@selector = stub("Selector")
@it = Germinate::Insertion.new(@selector, @library, {})
end
it "should use the library to resolve itself" do
- @library.should_receive(:[]).with(@selector).and_return(@hunk)
+ @library.should_receive(:[]).
+ with(@selector, anything, anything).and_return(@hunk)
@it.resolve.should == @hunk
end
end
end