Permalink
Browse files

Separate minitest reporters from rails support

  • Loading branch information...
1 parent 648acf6 commit ac05dd0275b4660c0d2938ac442f8c4f4a603110 @elskwid elskwid committed Jan 26, 2013
@@ -4,8 +4,3 @@ class MiniTest::Rails::ActiveSupport::TestCase
desc.respond_to?(:validate)
end
end
-
-unless ENV["CI"]
- require "minitest/reporters"
- MiniTest::Reporters.use! MiniTest::Reporters::ProgressReporter.new
-end
@@ -0,0 +1,4 @@
+unless ENV["CI"]
+ require "minitest/reporters"
+ MiniTest::Reporters.use! MiniTest::Reporters::ProgressReporter.new
+end
@@ -18,8 +18,9 @@ def test
copy_file "capybara.rb", "test/support/capybara.rb"
copy_file "factory_girl.rb", "test/support/factory_girl.rb"
copy_file "database_cleaner.rb", "test/support/database_cleaner.rb"
- copy_file "minitest.rb", "test/support/minitest.rb"
copy_file "routing_spec.rb", "test/support/routing_spec.rb"
+ copy_file "minitest_rails.rb", "test/support/minitest_rails.rb"
+ copy_file "minitest_reporters.rb", "test/support/minitest_reporters.rb"
copy_file "test.rake", "lib/tasks/test.rake"
copy_file "Guardfile"

0 comments on commit ac05dd0

Please sign in to comment.