Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

One last fix for failing cuke

  • Loading branch information...
commit 3bc584b7b44182e879ad18355a6a72b5529b162c 1 parent b268dc1
sivart84 authored
View
12 features/radio_button_group.feature
@@ -15,13 +15,13 @@ Feature: Radio Button Groups
Scenario: Selecting grouped radio buttons by value
When I select the "ched" radio button in the group
- Then the "Cheddar" radio button should be selected in the group
- Then the "Emmental" radio button should not be selected
- Then the "Muenster" radio button should not be selected
+ Then the "ched" radio button should be selected in the group
+ Then the "emmen" radio button should not be selected
+ Then the "muen" radio button should not be selected
When I select the "muen" radio button in the group
- Then the "Cheddar" radio button should not be selected
- Then the "Emmental" radio button should not be selected
- Then the "Muenster" radio button should be selected in the group
+ Then the "ched" radio button should not be selected
+ Then the "emmen" radio button should not be selected
+ Then the "muen" radio button should be selected in the group
Scenario: Getting an array of elements for each radio button in the group
When I ask for the elements of a radio button group
View
2  features/step_definitions/radio_button_group_steps.rb
@@ -7,7 +7,7 @@
end
When /^I select the "([^\"]*)" radio button in the group$/ do |how|
- @page.send "select_favorite_cheese(#{how})"
+ @page.select_favorite_cheese("#{how}")
end
Then /^the "([^\"]*)" radio button should be selected in the group$/ do |how|
Please sign in to comment.
Something went wrong with that request. Please try again.