Skip to content

Commit

Permalink
Merge pull request #23 from phlipper/reporters
Browse files Browse the repository at this point in the history
Add progress bar formatter
  • Loading branch information
elskwid committed Jan 25, 2013
2 parents 9e460a0 + 5ee5584 commit ef436fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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
1 change: 1 addition & 0 deletions thincloud-test.gemspec
Expand Up @@ -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.