Skip to content

Instantly share code, notes, and snippets.

@tak1n
Last active August 29, 2015 14:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tak1n/5ba3e2bca2ce2c9cc840 to your computer and use it in GitHub Desktop.
Save tak1n/5ba3e2bca2ce2c9cc840 to your computer and use it in GitHub Desktop.
Report method without io.sync = self.old_sync
def report # :nodoc:
super
io.puts "before sync"
# io.sync = self.old_sync
io.puts "after sync"
io.puts unless options[:verbose] # finish the dots
io.puts
io.puts statistics
io.puts aggregated_results
io.puts summary
end
rack-simple_auth (master*) $ bundle exec rake
/home/benny/.rubies/rbx/bin/rbx -I"lib:test:bin:ext:controllers:helpers:models" -I"/home/benny/.rubies/rbx/gems/gems/rake-10.3.1/lib" "/home/benny/.rubies/rbx/gems/gems/rake-10.3.1/lib/rake/rake_test_loader.rb" "test/rack/simple_auth/hmac/hmac_fail_run_test.rb" "test/rack/simple_auth/hmac/hmac_fail_test.rb" "test/rack/simple_auth/hmac/hmac_test.rb"
Run options: --seed 29440
# Running:
..................before sync
after sync
Fabulous run in 2.290506s, 7.8585 runs/s, 7.8585 assertions/s.
18 runs, 18 assertions, 0 failures, 0 errors, 0 skips
rack-simple_auth (master*) $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment