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:
parent
a4be1868b2
commit
05a1398123
1 changed files with 0 additions and 4 deletions
|
@ -138,9 +138,5 @@ module Capybara
|
||||||
end
|
end
|
||||||
raise Capybara::WindowError, "Window size not stable within #{seconds} seconds."
|
raise Capybara::WindowError, "Window size not stable within #{seconds} seconds."
|
||||||
end
|
end
|
||||||
|
|
||||||
def raise_unless_current(what)
|
|
||||||
raise Capybara::WindowError, "#{what} not current window is not possible." unless current?
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue