spec/lib/gametel/accessors_spec.rb in gametel-0.5.8.1 vs spec/lib/gametel/accessors_spec.rb in gametel-0.5.9
- old
+ new
@@ -771,10 +771,10 @@
platform.should_receive(:last_json).and_return({'hasDrawable' => 'true'})
screen.wait_for_image_index
end
it "should wait for a drawable when using index" do
- platform.should_receive(:get_view_by_id).with(:id => 'image_id')
+ platform.should_receive(:get_view_by_id).with('image_id')
platform.should_receive(:last_json).and_return({'hasDrawable' => 'true'})
screen.wait_for_image_id
end
end
end