Skip to content

Commit 6cdff39

Browse files
committed
shakapacker spec helper fixup
1 parent 6bfddcc commit 6cdff39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/rails_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,7 @@
6363

6464
config.include(ControllerLevelHelpers, type: :view)
6565
config.before(:each, type: :view) { initialize_controller_helpers(view) }
66+
67+
ReactOnRails.configure { |configuration| configuration.build_test_command = "RAILS_ENV=test bin/shakapacker" }
6668
ReactOnRails::TestHelper.configure_rspec_to_compile_assets(config)
6769
end

0 commit comments

Comments
 (0)