diff --git a/test/bacon-ui/spec/simple_gestures_spec.rb b/test/bacon-ui/spec/simple_gestures_spec.rb index 99a1c66c..e489b040 100644 --- a/test/bacon-ui/spec/simple_gestures_spec.rb +++ b/test/bacon-ui/spec/simple_gestures_spec.rb @@ -89,6 +89,12 @@ describe "Bacon::Functional::API, concerning one-shot gestures" do controller.switch.isOn.should == false end + # TODO the directions seem to be completely ignored. + it "uses the direction symbols to define the direction of the flick" do + flick "Switch control", :to => :left + controller.switch.isOn.should != true + end + it "taps a switch" do tap "Switch control", :at => :right controller.switch.isOn.should == true