Skip to content

Commit

Permalink
whatever
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed Jun 26, 2024
1 parent 861d544 commit 60b0ec0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
dummy-app-integration-tests:
needs: build-dummy-app-webpack-test-bundles
strategy:
fail-fast: false
matrix:
versions: ['oldest', 'newest']
runs-on: ubuntu-22.04
Expand Down
3 changes: 2 additions & 1 deletion spec/dummy/spec/rake/assets_precompile_rake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
require "rake"

require "rails_helper"
require "react_on_rails"

describe "rake assets:precompile task" do
it "doesn't show deprecation message for using webpacker:clean task" do
Expand All @@ -12,7 +13,7 @@
Rails.application.load_tasks

ReactOnRails.configure do |config|
config.build_production_command = "RAILS_ENV=production NODE_ENV=production bin/shakapacker"
config.build_production_command = "RAILS_ENV=production NODE_ENV=production bin/#{ReactOnRails::PackerUtils.packer_type}"
end

expect do
Expand Down
2 changes: 1 addition & 1 deletion spec/dummy/spec/rake/assets_rake_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def self.call

Rake::Task["react_on_rails:assets:webpack"].execute

expect(BuildProductionCommand).to have_received(:call)
expect(BuildProductionCommand).to have_received(:call).twice
expect(File).to exist(filepath)
end

Expand Down

0 comments on commit 60b0ec0

Please sign in to comment.