Skip to content

Commit

Permalink
maybe maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed Jun 26, 2024
1 parent 60b0ec0 commit e2090b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/dummy/spec/rake/assets_precompile_rake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
it "doesn't show deprecation message for using webpacker:clean task" do
allow(ENV).to receive(:[]).with(anything).and_call_original
allow(ENV).to receive(:[]).with("SHAKAPACKER_PRECOMPILE").and_return("false")
allow(ENV).to receive(:[]).with("WEBPACKER_PRECOMPILE").and_return("false")

Rails.application.load_tasks

Expand All @@ -17,7 +18,6 @@
end

expect do
system "bundle install && yarn install && yarn run build:test"
Rake::Task["assets:precompile"].execute
end.not_to output(/Consider using `rake shakapacker:clean`/).to_stdout

Expand Down

0 comments on commit e2090b4

Please sign in to comment.