features/step_definitions/checkbox_steps.rb in gametel-0.5 vs features/step_definitions/checkbox_steps.rb in gametel-0.5.1

- old
+ new

@@ -1,3 +1,6 @@ Then /^I should be able to click a checkbox by "(.*?)"$/ do |how| - on(ControlsScreen).send "checkbox_#{how}" + on(ControlsScreen) do |screen| + screen.send "checkbox_#{how}" + screen.send("checkbox_#{how}_view").should be_checked + end end