Sha256: b3e90bada0b26c09566667c74d7e812a98d8f05ccd7dfc18cb1d1db8df1fb1a8

Contents?: true

Size: 298 Bytes

Versions: 128

Compression:

Stored size: 298 Bytes

Contents

Given /^I visit the calculator page$/ do
  visit '/'
end

Given /^I fill in '(.*)' for '(.*)'$/ do |value, field|
  fill_in(field, :with => value)
end

When /^I press '(.*)'$/ do |name|
  click_button(name)
end

Then /^I should see '(.*)'$/ do |text|
  response_body.should contain(/#{text}/m)
end

Version data entries

128 entries across 124 versions & 17 rubygems

Version Path
middleman-0.10.14 vendor/gems/gems/cucumber-0.4.4/examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.4 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.3 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.1 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.0 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.4.0.rc1 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.3.104 examples/ramaze/features/step_definitions/add_steps.rb