1
0
Fork 0
mirror of https://github.com/teamcapybara/capybara.git synced 2022-11-09 12:08:07 -05:00

Window#raise_unless_current is no longer used

This commit is contained in:
Jon Evans 2020-10-14 13:20:06 -06:00
parent a4be1868b2
commit 05a1398123

View file

@ -138,9 +138,5 @@ module Capybara
end
raise Capybara::WindowError, "Window size not stable within #{seconds} seconds."
end
def raise_unless_current(what)
raise Capybara::WindowError, "#{what} not current window is not possible." unless current?
end
end
end