Sha256: 54129c3573f2f0f475f952ad226f68a559abc511ab8129a6ca91a5615b28a8ab

Contents?: true

Size: 366 Bytes

Versions: 2

Compression:

Stored size: 366 Bytes

Contents

Then /^the value of the "([^"]*)" control should be "(.*?)"$/ do |which, what|
  on(MainScreen).send("#{which.to_method}_value").should eq(what)
end

When(/^I click the control identified by "([^"]*)"$/) do |what|
  on(MainScreen).send("click_#{what}")
end

Then(/^the "([^"]*)" screen should be shown$/) do |screen|
  on(AboutScreen).should be_present
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mohawk-0.2.1 features/step_definitions/control_steps.rb
mohawk-0.2 features/step_definitions/control_steps.rb