features/step_definitions/radio.rb in cello-0.0.23 vs features/step_definitions/radio.rb in cello-0.0.25
- old
+ new
@@ -7,43 +7,43 @@
end
end
Given /^the option "(.*?)" is setted$/ do |option|
@browser.radios_set(option)
- @browser.radios_checked_option_is?(option).should be_true
+ @browser.radios_checked_option_is?(option).should be true
end
Then /^I should be able to know that the option "(.*?)" is setted$/ do |option|
@browser.radios_checked_option?.should include(option)
end
Then /^I should be able to know if the option "(.*?)" is not setted$/ do |option|
- @browser.radios_checked_option_is_not?(option).should be_true
+ @browser.radios_checked_option_is_not?(option).should be true
@browser.close
end
Then /^I should fail when ask if the the option "(.*?)" is not setted$/ do |option|
- @browser.radios_checked_option_is_not?(option).should be_false
+ @browser.radios_checked_option_is_not?(option).should be false
@browser.close
end
Then /^I should be able to know if the option "(.*?)" is setted$/ do |option|
- @browser.radios_checked_option_is?(option).should be_true
+ @browser.radios_checked_option_is?(option).should be true
@browser.close
end
Then /^I should fail when ask if the option "(.*?)" is setted$/ do |option|
- @browser.radios_checked_option_is?(option).should be_false
+ @browser.radios_checked_option_is?(option).should be false
@browser.close
end
Then /^I should be able to know if there is some options setted$/ do
- @browser.radios_has_selected_option?.should be_true
+ @browser.radios_has_selected_option?.should be true
@browser.close
end
Then /^I should fail when ask if there is some options setted$/ do
- @browser.radios_has_selected_option?.should be_false
+ @browser.radios_has_selected_option?.should be false
@browser.close
end
Then /^I should be able to select the option "(.*?)"$/ do |option|
@browser.radios_set(option)