Sha256: 7481e79c7e30a443af4189f1bb478fefdbabd83be96dfa4bb2241d2215270a20
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
require 'rubygems' require 'bacon' require 'mocha' require 'rack/test' require 'tempfile' class Bacon::Context include Mocha::Standalone include Rack::Test::Methods alias_method :old_it, :it def it(description) old_it(description) do mocha_setup yield mocha_verify mocha_teardown end end end require File.dirname(__FILE__) + '/../lib/taps/config' Taps::Config.taps_database_url = "sqlite://#{Tempfile.new('test.db').path}" Sequel.connect(Taps::Config.taps_database_url)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
taps-0.2.26 | spec/base.rb |
taps-0.2.25 | spec/base.rb |