-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make puma log silence completely #2289
Conversation
Avoid: 1) Widget management enables me to create widgets Failure/Error: raise ActionController::RoutingError, "No route matches [#{env['REQUEST_METHOD']}] #{env['PATH_INFO'].inspect}" ActionController::RoutingError: No route matches [GET] "/stylesheets/application.css"
@@ -197,12 +198,13 @@ namespace :no_active_record do | |||
sh "bundle binstubs railties" unless File.exist?("bin/rails") | |||
|
|||
application_file = File.read("config/application.rb") | |||
application_file.gsub!("config.assets.enabled = true", "config.assets.enabled = false") | |||
application_file.gsub!('# require "sprockets/railtie"', 'require "sprockets/railtie"') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I felt quite dirty to do this.
Changelog.md
Outdated
@@ -7,6 +7,7 @@ Enhancements: | |||
* The scaffold generator now generates request specs in preference to controller specs. | |||
(Luka Lüdicke, #2288) | |||
* Add configuration option to disable ActiveRecord. (Jon Rowe, Phil Pirozhkov, Hermann Mayer, #2266) | |||
* Remove Puma log when running system specs. (ta1kt0me, Benoit Tigeot, #2011) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should I reference this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with this when the changelog points to this PR.
Co-Authored-By: Jon Rowe <[email protected]>
Co-Authored-By: Jon Rowe <[email protected]>
Fixed in version 4.0.0 of rspec-rails by rspec/rspec-rails#2289
Capybara was configured to silence Puma in thoughtbot#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.
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.
Continue #2011