1
0
Fork 0
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:
Thomas Walpole 2017-11-13 10:43:09 -08:00
parent 2283bf46e8
commit 4c4e65629c

View file

@ -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