Sha256: 88b80362e755b3c04cacae663b33ce8f6c95667c36f6fc11be091effe1ca5b5a

Contents?: true

Size: 449 Bytes

Versions: 3

Compression:

Stored size: 449 Bytes

Contents

Given /^I am on the spinner page$/ do
  visit SpinnerPage
end

When(/^I click the increment button$/) do
  on(SpinnerPage).increment_the_spinner
end

Then(/^the Spinner Widget should read "([^"]*)"$/) do |value|
  on(SpinnerPage).the_spinner.should == value
end

When(/^I click the decrement button$/) do
  on(SpinnerPage).decrement_the_spinner
end

When(/^I set the spinner value to "([^"]*)"$/) do |value|
  on(SpinnerPage).the_spinner = value
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jqueryui_widgets-1.0 features/step_definitions/spinner_steps.rb
jqueryui_widgets-0.7.1 features/step_definitions/spinner_steps.rb
jqueryui_widgets-0.6 features/step_definitions/spinner_steps.rb