test/test__helper.rb in factbase-0.1.1 vs test/test__helper.rb in factbase-0.2.0

- old
+ new

@@ -30,5 +30,13 @@ require 'minitest/autorun' require 'minitest/reporters' Minitest::Reporters.use! [Minitest::Reporters::SpecReporter.new] + +# Default methods for all tests. +class Minitest::Test + def fact(map = {}) + require 'factbase/fact' + Factbase::Fact.new(Mutex.new, map) + end +end