spec/bitcoin/spec_helper.rb in bitcoin-ruby-0.0.7 vs spec/bitcoin/spec_helper.rb in bitcoin-ruby-0.0.8

- old
+ new

@@ -79,10 +79,16 @@ puts "Cannot load 'bacon' - install with `gem install bacon`" puts "Note: to run all the tests, you will also need: ffi, sequel, sqlite3" exit 1 end Bacon.summary_on_exit + +begin + require 'minitest' +rescue LoadError +end require 'minitest/mock' +include MiniTest class Time class << self alias_method :real_new, :new alias_method :new, :now