Silence warnings on ruby 1.9 build
This commit is contained in:
parent
ad6f6498ef
commit
92c508bb36
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ end
|
||||||
|
|
||||||
When /^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/ do |button, selector|
|
When /^(?:|I )press "([^"]*)"(?: within "([^"]*)")?$/ do |button, selector|
|
||||||
with_scope(selector) do
|
with_scope(selector) do
|
||||||
click_button(button)
|
silence_warnings { click_button(button) } # ruby 1.9 produces a warning about UTF8 from rack-util
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue