mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
395 B
16 lines
395 B
12 years ago
|
step "show me the page" do
|
||
|
save_and_open_page
|
||
|
end
|
||
|
|
||
|
step "I click the link :link_text" do |link_text|
|
||
|
page.click_link link_text
|
||
|
end
|
||
|
|
||
|
step "I click the button :button_text" do |button_text|
|
||
|
page.click_button button_text
|
||
|
end
|
||
|
|
||
|
step "I fill out the form with :model :field_name :field_value" do |model, field_name, field_value|
|
||
|
page.fill_in "#{model}_#{field_name}", :with => field_value
|
||
|
end
|