Skip to content

Commit

Permalink
test-unit autorunner hack
Browse files Browse the repository at this point in the history
  • Loading branch information
morozovm committed Sep 9, 2017
1 parent 881dd31 commit 2073c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/react_on_rails/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
Rails.backtrace_cleaner.remove_silencers!

require_relative "./simplecov_helper"
# prevent Test::Unit's AutoRunner from executing during RSpec's rake task
Test::Unit.run = true if defined?(Test::Unit) && Test::Unit.respond_to?(:run=)

unless File.basename(ENV["BUNDLE_GEMFILE"] || "") == "Gemfile.rails32"
require "webpacker"
Expand Down

0 comments on commit 2073c96

Please sign in to comment.