Skip to content

Commit

Permalink
Revert helper to remove JS test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtrussler committed Jan 10, 2025
1 parent 4baa904 commit 36b21e9
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions test/integration_test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,26 +64,6 @@ def filter_by_content_type(option, from: "Content type")
end
end

def with_javascript
context "with javascript" do
setup do
Capybara.current_driver = Capybara.javascript_driver
end

yield
end
end

def without_javascript
context "without javascript" do
setup do
Capybara.use_default_driver
end

yield
end
end

class JavascriptIntegrationTest < IntegrationTest
setup do
Capybara.current_driver = Capybara.javascript_driver
Expand Down

0 comments on commit 36b21e9

Please sign in to comment.