Skip to content

Commit

Permalink
shakapacker spec helper fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
barmintor committed Sep 26, 2024
1 parent 6bfddcc commit 6cdff39
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/rails_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@

config.include(ControllerLevelHelpers, type: :view)
config.before(:each, type: :view) { initialize_controller_helpers(view) }

ReactOnRails.configure { |configuration| configuration.build_test_command = "RAILS_ENV=test bin/shakapacker" }
ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)
end

0 comments on commit 6cdff39

Please sign in to comment.