Sha256: 0994a9cc4bceb45d779e6c38d593671884794ba31252c038af0c92339804d93c

Contents?: true

Size: 464 Bytes

Versions: 12

Compression:

Stored size: 464 Bytes

Contents

When /^I set the "(.*)" to the value "(.*)"$/ do |name, value|
  on(MainScreen).send "#{name.to_field}=", value
end

When /^I enter into "(.*?)" the values "(.*?)"$/ do |name, value|
  on(MainScreen).send "enter_#{name.to_field}", value
end

When /^I clear the "(.*)"$/ do |name|
  on(MainScreen).send "clear_#{name.to_field}"
end

Then /^the "(.*)" should be "(.*)"$/ do |name, value|
  on(MainScreen).send("#{name.to_field}").should eq(value)
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
mohawk-0.2.1 features/step_definitions/text_steps.rb
mohawk-0.2 features/step_definitions/text_steps.rb
mohawk-0.1.4 features/step_definitions/text_steps.rb
mohawk-0.1.0 features/step_definitions/text_steps.rb
mohawk-0.0.9 features/step_definitions/text_steps.rb
mohawk-0.0.8 features/step_definitions/text_steps.rb
mohawk-0.0.7 features/step_definitions/text_steps.rb
mohawk-0.0.6 features/step_definitions/text_steps.rb
mohawk-0.0.5 features/step_definitions/text_steps.rb
mohawk-0.0.4 features/step_definitions/text_steps.rb
mohawk-0.0.3 features/step_definitions/text_steps.rb
mohawk-0.0.2 features/step_definitions/text_steps.rb