lib/generators/thincloud/test/templates/minitest.rb in thincloud-test-0.7.0 vs lib/generators/thincloud/test/templates/minitest.rb in thincloud-test-0.8.0
- old
+ new
@@ -1,8 +1,11 @@
class MiniTest::Rails::ActiveSupport::TestCase
-
# Register any classes that respond to validate to a specific test class
Minitest::Spec.register_spec_type(self) do |desc|
desc.respond_to?(:validate)
end
+end
+unless ENV["CI"]
+ require "minitest/reporters"
+ MiniTest::Reporters.use! MiniTest::Reporters::ProgressReporter.new
end