Sha256: 6c8d0a1a50e0bf35d311aa270d2766e96bbf3bf735bf0e9220ea56fc57afd1a3

Contents?: true

Size: 615 Bytes

Versions: 4

Compression:

Stored size: 615 Bytes

Contents

require 'rspec'
require 'active_record'

ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', :database => ':memory:')
ActiveRecord::Migration.create_table :users

if ENV['COVERAGE']
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  SimpleCov.start do
    add_filter "#{File.dirname(__FILE__)}/fake_app"
  end

  Coveralls.wear!
end

require "#{File.dirname(__FILE__)}/../lib/zertico"

Dir["#{File.dirname(__FILE__)}/fake_app/config/**/*.rb"].sort.each { |f| require f }
Dir["#{File.dirname(__FILE__)}/fake_app/app/**/*.rb"].sort.each { |f| require f }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zertico-2.0.0.beta.1 spec/spec_helper.rb
zertico-2.0.0.alpha.3 spec/spec_helper.rb
zertico-2.0.0.alpha.2 spec/spec_helper.rb
zertico-2.0.0.alpha.1 spec/spec_helper.rb