test/unit/helper.rb in thinreports-0.7.0 vs test/unit/helper.rb in thinreports-0.7.5

- old
+ new

@@ -1,21 +1,27 @@ # coding: utf-8 begin require 'rubygems' - require 'minitest/unit' require 'minitest/spec' + require 'minitest/unit' + require 'turn' require 'flexmock' rescue LoadError => e $stderr.puts 'To run the unit tests, you need minitest and flexmock.' raise e end -# Run a test automaticaly -MiniTest::Unit.autorun +Turn.config.format = :progress -# Load misc +# Load ThinReports. +require 'thinreports' + +# Load misc. require 'digest/sha1' + +# Run the test. +MiniTest::Unit.autorun module ThinReports::TestHelpers include FlexMock::TestCase def clean_whitespaces(str)