Sha256: 9af651aedb44f3fdc91d292f2bbb347d01af4bab8e304f0abc7aa61eecf9bd72
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
require 'octoshark' require 'fileutils' ROOT = File.expand_path('../', File.dirname(__FILE__)) TMP = 'tmp' # Load support files Dir["#{ROOT}/spec/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.include Helpers config.before :suite do FileUtils.mkdir_p(TMP) end config.before :each do ActiveRecord::Base.establish_connection({adapter: 'sqlite3', database: 'tmp/default.sqlite'}) end config.after :suite do FileUtils.rm_rf(TMP) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
octoshark-0.1.0 | spec/spec_helper.rb |