Sha256: d186cc38acde77d62ace0620cc85e44276e120d9406d6db37957afb87dc8d0de

Contents?: true

Size: 660 Bytes

Versions: 2

Compression:

Stored size: 660 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'rspec'
require 'flavors'
require 'shoulda-matchers'

require "rails/test_unit/railtie"

RSpec.configure do |config|
  config.color     = true
  config.formatter = 'documentation'
end

# Define the application and configuration
module Config
  class Application < ::Rails::Application
  end
end

Config::Application.initialize!

# Setup test environment for ActiveRecord
ActiveRecord::Base.establish_connection(
  :adapter => 'sqlite3',
  :database => ':memory:'
)

load File.dirname(__FILE__) + '/support/schema.rb'
load File.dirname(__FILE__) + '/support/user.rb'
load File.dirname(__FILE__) + '/support/post.rb'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flavors-0.6.0 spec/spec_helper.rb
flavors-0.5.0 spec/spec_helper.rb