Sha256: 2e03ee26e6d6fe84cd6537b4d32fcab38ef547246b8894cad6277209377afcbe

Contents?: true

Size: 365 Bytes

Versions: 7

Compression:

Stored size: 365 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_active
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mohawk-0.1.4 features/step_definitions/control_steps.rb
mohawk-0.1.0 features/step_definitions/control_steps.rb
mohawk-0.0.9 features/step_definitions/control_steps.rb
mohawk-0.0.8 features/step_definitions/control_steps.rb
mohawk-0.0.7 features/step_definitions/control_steps.rb
mohawk-0.0.6 features/step_definitions/control_steps.rb
mohawk-0.0.5 features/step_definitions/control_steps.rb