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
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/cucumber-1.3.16/examples/ramaze/features/step_definitions/add_steps.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/cucumber-1.3.18/examples/ramaze/features/step_definitions/add_steps.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/cucumber-1.3.18/examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.20 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.19 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.18 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.17 examples/ramaze/features/step_definitions/add_steps.rb
aslakhellesoy-cucumber-0.3.104 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.16 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.15 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.14 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.13 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.12 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.11 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.10 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.9 examples/ramaze/features/step_definitions/add_steps.rb
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/examples/ramaze/features/step_definitions/add_steps.rb
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/examples/ramaze/features/step_definitions/add_steps.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.3.8 examples/ramaze/features/step_definitions/add_steps.rb