Sha256: 5c871b8a85baea6dad99a953a57288ea461345c1809729f8bed3868f348510d6

Contents?: true

Size: 548 Bytes

Versions: 6

Compression:

Stored size: 548 Bytes

Contents

Then(/^I can set the spinner to "([^"]*)"$/) do |value|
  on(MainScreen) do |screen|
    screen.spinner = value.to_f
    screen.spinner.should eq(value.to_f)
  end
end

When(/^the spinner is set to "([^"]*)"$/) do |value|
  on(MainScreen).spinner = value.to_f
end

Then(/^we can crank it up to "([^"]*)"$/) do |expected_value|
  on(MainScreen).increment_spinner.should eq(expected_value.to_f)
end

Then(/^we can knock it down to "([^"]*)"$/) do |expected_value|
  on(MainScreen).decrement_spinner.should eq(expected_value.to_f)
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mohawk-0.2.1 features/step_definitions/spinner_steps.rb
mohawk-0.2 features/step_definitions/spinner_steps.rb
mohawk-0.1.4 features/step_definitions/spinner_steps.rb
mohawk-0.1.0 features/step_definitions/spinner_steps.rb
mohawk-0.0.9 features/step_definitions/spinner_steps.rb
mohawk-0.0.8 features/step_definitions/spinner_steps.rb