features/step_definitions/web_steps.rb in paperclip-4.1.1 vs features/step_definitions/web_steps.rb in paperclip-4.2.0
- old
+ new
@@ -162,21 +162,21 @@
Then /^the "([^"]*)" checkbox(?: within (.*))? should be checked$/ do |label, parent|
with_scope(parent) do
field_checked = find_field(label)['checked']
if field_checked.respond_to? :should
- field_checked.should be_true
+ field_checked.should eq true
else
assert field_checked
end
end
end
Then /^the "([^"]*)" checkbox(?: within (.*))? should not be checked$/ do |label, parent|
with_scope(parent) do
field_checked = find_field(label)['checked']
if field_checked.respond_to? :should
- field_checked.should be_false
+ field_checked.should eq false
else
assert !field_checked
end
end
end