Replace be_true and be_false expectations

Removed in RSpec 3.0
This commit is contained in:
Dan Rice 2014-06-25 17:10:27 -04:00
parent 7869ef2c74
commit c19af5b982
4 changed files with 9 additions and 9 deletions

View file

@ -149,14 +149,14 @@ end
Then /^the "([^"]*)" checkbox(?: within "([^"]*)")? should be checked$/ do |label, selector|
with_scope(selector) do
field_checked = find_field(label)['checked']
expect(field_checked).to be_true
expect(field_checked).to be true
end
end
Then /^the "([^"]*)" checkbox(?: within "([^"]*)")? should not be checked$/ do |label, selector|
with_scope(selector) do
field_checked = find_field(label)['checked']
expect(field_checked).to be_false
expect(field_checked).to be false
end
end