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-1.2.0 examples/ramaze/features/step_definitions/add_steps.rb
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.9 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.8 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.7 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.6 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.5 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.4 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.3 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.1 examples/ramaze/features/step_definitions/add_steps.rb
js-log-cucumber-1.0.2 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.1.0 examples/ramaze/features/step_definitions/add_steps.rb
cucumber-1.0.6 examples/ramaze/features/step_definitions/add_steps.rb