Sha256: 6b03f54b98cf33b27996b5962d760c07ea956d8b1c19f13e5131a17d99933c55
Contents?: true
Size: 584 Bytes
Versions: 4
Compression:
Stored size: 584 Bytes
Contents
$:.unshift File.expand_path('../lib', __FILE__) require 'coveralls' Coveralls.wear! require 'rspec' require 'sqlite3' require 'emojimmy' # Require our macros and extensions Dir[File.expand_path('../../spec/support/macros/**/*.rb', __FILE__)].map(&method(:require)) RSpec.configure do |config| # Include our macros config.include DatabaseMacros config.include ModelMacros config.before :suite do Emojimmy.initialize! end config.before :each do adapter = ENV['DB_ADAPTER'] || 'sqlite3' setup_database(adapter: adapter, database: 'emojimmy_test') end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
emojimmy-0.1.4 | spec/spec_helper.rb |
emojimmy-0.1.3 | spec/spec_helper.rb |
emojimmy-0.1.2 | spec/spec_helper.rb |
emojimmy-0.1.1 | spec/spec_helper.rb |