Skip to content

Commit

Permalink
Running Riot report at exit
Browse files Browse the repository at this point in the history
  • Loading branch information
gus committed Oct 4, 2009
1 parent b89f94b commit fc894ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion Rakefile
Expand Up @@ -7,7 +7,6 @@ desc "Run tests"
task :test do
$:.concat ['./test', './lib']
Dir.glob("./test/*_test.rb").each { |test| require test }
Riot.report
end

desc "Run Flog against library (except tests)"
Expand Down
2 changes: 2 additions & 0 deletions test/test_helper.rb
Expand Up @@ -52,3 +52,5 @@ def setup_and_run_context(name, *passes_failures_errors, &block)
end

Riot::Context.instance_eval { include RiotRails::Context }

at_exit { Riot.report }

0 comments on commit fc894ee

Please sign in to comment.