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
cucumber-0.9.4 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.9.3 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.9.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.9.1 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.9.0 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.5 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.4 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.3 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.1 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.8.0 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.3 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.1 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0.beta.8 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0.beta.7 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0.beta.6 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0.beta.5 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-0.7.0.beta.4 examples/ramaze/features/step_definitions/add_steps.rb