Sha256: b9435578b48e0f79ced3a84905dc79f8d96e64e995c80a7f758c8c3de4536f19
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
require 'maxitest/autorun' require 'active_support' require 'action_mailer' require 'json' require 'mocha/setup' $:.push File.expand_path("../../lib", __FILE__) require File.dirname(__FILE__) + '/../lib/seatbelt.rb' # Requiring custom spec helpers Dir[File.dirname(__FILE__) + "/helpers/**/*.rb"].sort.each { |f| require File.expand_path(f) } # Turn.config.format = :dot class Minitest::Test def assert_assertion_fails(&block) if Object.const_defined?(:MiniTest) assert_raises(MiniTest::Assertion, &block) else assert_raises(Test::Unit::AssertionFailedError, &block) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seatbelt-1.0.0 | test/test_helper.rb |
seatbelt-0.5.0 | test/test_helper.rb |