mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Remove deprecated test
This commit is contained in:
parent
2283bf46e8
commit
4c4e65629c
1 changed files with 0 additions and 12 deletions
|
@ -112,18 +112,6 @@ RSpec.describe Capybara do
|
|||
expect { Capybara.default_host = "http://www.example.com" }.not_to raise_error
|
||||
end
|
||||
end
|
||||
|
||||
describe "configure" do
|
||||
it 'deprecates calling non configuration option methods in configure' do
|
||||
expect_any_instance_of(Kernel).to receive(:warn).
|
||||
with('Calling register_driver from Capybara.configure is deprecated - please call it on Capybara directly ( Capybara.register_driver(...) )')
|
||||
Capybara.configure do |config|
|
||||
config.register_driver(:random_name) do
|
||||
#just a random block
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
RSpec.describe Capybara::Session do
|
||||
|
|
Loading…
Reference in a new issue