Skip to content

Commit

Permalink
Remove redundant Capybara config (#1128)
Browse files Browse the repository at this point in the history
Capybara was configured to silence Puma in #981 to prevent Puma startup messages
being output when running specs with `js: true`.

This configuration has since been updated in
[rspec-rails](rspec/rspec-rails#2289), so we can remove
it here.
  • Loading branch information
cpjmcquillan authored May 27, 2023
1 parent c2e5e29 commit cc924a1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions lib/suspenders/generators/js_driver_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ def add_gems

def configure_capybara
copy_file "chromedriver.rb", "spec/support/chromedriver.rb"
copy_file(
"capybara_silence_puma.rb",
"spec/support/capybara_silence_puma.rb"
)
end
end
end
1 change: 0 additions & 1 deletion templates/capybara_silence_puma.rb

This file was deleted.

0 comments on commit cc924a1

Please sign in to comment.