Sha256: 22979dd4a2f2713c8d4cfff7ccd29f7e17b2f9be80692af7401981bffaa71f65
Contents?: true
Size: 521 Bytes
Versions: 9
Compression:
Stored size: 521 Bytes
Contents
$:.unshift(File.join(File.expand_path(File.dirname(__FILE__)), "..", "..", "lib")) require 'rubygems' require 'test/unit' require 'logger' if RUBY_VERSION =~ /^1\.9/ puts "\nRunning the unit test suite doesn't as of yet work with Ruby 1.9, because Mocha hasn't yet been updated to use minitest." puts exit 1 end require 'mocha' gem 'thoughtbot-shoulda' require 'shoulda' $log = Logger.new(STDERR) $log.level = Logger::INFO def loudly $log.level = Logger::DEBUG yield ensure $log.level = Logger::INFO end
Version data entries
9 entries across 9 versions & 1 rubygems