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

Remove extraneous output from tests

This commit is contained in:
Thomas Walpole 2020-02-19 18:48:06 -08:00
parent ec658052a0
commit 4b320fccd0

View file

@ -131,14 +131,12 @@ RSpec.describe Capybara::Session do # rubocop:disable RSpec/MultipleDescribes
it 'should rewrite the forms action query for get submission' do
session.visit('/form')
session.click_button('mediocre')
puts session.current_url
expect(session).not_to have_current_path(/foo|bar/)
end
it 'should rewrite the submit buttons formaction query for get submission' do
session.visit('/form')
session.click_button('mediocre2')
puts session.current_url
expect(session).not_to have_current_path(/foo|bar/)
end
end