Sha256: 72e21e3eff0aa9782530e7327338372a39c270fa5e49c6d13fbb7f66f8b52036
Contents?: true
Size: 834 Bytes
Versions: 2
Compression:
Stored size: 834 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 Shoulda::Matchers.configure do |config| config.integrate do |with| with.test_framework :rspec with.library :active_record with.library :active_model end 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-1.0.0 | spec/spec_helper.rb |
flavors-1.0.0.rc.1 | spec/spec_helper.rb |