spec/lib/navigation_spec.rb in mohawk-0.0.2 vs spec/lib/navigation_spec.rb in mohawk-0.0.3

- old
+ new

@@ -29,6 +29,11 @@ screen.should_receive(:was_used) on(NavigationTestScreen) do |screen| screen.was_used end end + + it "can pass additional locator information to the screen" do + NavigationTestScreen.should_receive(:new).with(:extra => 'info').and_return(screen) + on(NavigationTestScreen, :extra => 'info') + end end