Sha256: 4a2e630256600bd60c1c38dfce5852c6d68b40738c2e1cac6975c5b1e691f94a

Contents?: true

Size: 526 Bytes

Versions: 3

Compression:

Stored size: 526 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 :each do
    adapter = ENV['DB_ADAPTER'] || 'sqlite3'
    setup_database(adapter: adapter, database: 'emojimmy_test')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emojimmy-0.2.2 spec/spec_helper.rb
emojimmy-0.2.1 spec/spec_helper.rb
emojimmy-0.2 spec/spec_helper.rb