Skip to content

Commit

Permalink
Fix Ruby warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Mar 27, 2024
1 parent 02c8485 commit 4c8ee67
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/propshaft/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def compute_asset_path(path, options = {})
# Add an option to call `stylesheet_link_tag` with `:all` to include every css file found on the load path.
def stylesheet_link_tag(*sources, **options)
if sources.first == :all
super *all_stylesheets_paths, **options
super(*all_stylesheets_paths, **options)
else
super
end
Expand Down
2 changes: 2 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Configure Rails Environment
ENV["RAILS_ENV"] = "test"
Warning[:deprecated] = true
$VERBOSE = true

require_relative "../test/dummy/config/environment"
require "rails/test_help"
Expand Down

0 comments on commit 4c8ee67

Please sign in to comment.