Sha256: 536a60be950a8f1f5aa0fb3092036eb1999cbbaddbfea8282b7af913caa59f6a
Contents?: true
Size: 719 Bytes
Versions: 2
Compression:
Stored size: 719 Bytes
Contents
require 'simplecov' require 'coveralls' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter ] SimpleCov.start do add_filter 'spec' minimum_coverage(76) end require 'active_record' require 'amoeba' adapter = if defined?(JRuby) require 'activerecord-jdbcsqlite3-adapter' 'jdbcsqlite3' else require 'sqlite3' 'sqlite3' end ActiveRecord::Base.establish_connection(adapter: adapter, database: ':memory:') ::RSpec.configure do |config| config.order = :default end load File.dirname(__FILE__) + '/support/schema.rb' load File.dirname(__FILE__) + '/support/models.rb'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
amoeba-3.1.0 | spec/spec_helper.rb |
amoeba-3.0.0 | spec/spec_helper.rb |