Sha256: 11812d071a988c5b605fcd0355fb21e51746cb964ef1545282ef5a312fcbfaa9

Contents?: true

Size: 623 Bytes

Versions: 1

Compression:

Stored size: 623 Bytes

Contents

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

1 entries across 1 versions & 1 rubygems

Version Path
flavors-0.4.0 spec/spec_helper.rb