Skip to content
Browse files

Merge pull request #23 from phlipper/reporters

Add progress bar formatter
  • Loading branch information...
2 parents 9e460a0 + 5ee5584 commit ef436fa8faeabb9edef08ed18ff6d182cb70ac42 @elskwid elskwid committed Jan 24, 2013
Showing with 5 additions and 1 deletion.
  1. +4 −1 lib/generators/thincloud/test/templates/minitest.rb
  2. +1 −0 thincloud-test.gemspec
View
5 lib/generators/thincloud/test/templates/minitest.rb
@@ -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
View
1 thincloud-test.gemspec
@@ -32,5 +32,6 @@ Gem::Specification.new do |s|
s.add_dependency "mocha", "~> 0.13.2" # Must be after minitest
s.add_dependency "minitest-rails-capybara", "~> 0.5.1"
s.add_dependency "shoulda-matchers", "1.4.1" # 1.4.2 requires mocha 0.10
+ s.add_dependency "minitest-reporters", "~> 0.14.6"
end

0 comments on commit ef436fa

Please sign in to comment.
Something went wrong with that request. Please try again.