Sha256: 7f8ce2015ff1e82e30113339e5a2cd8099a1b56dd75c7deb44797d8b05fe0637

Contents?: true

Size: 508 Bytes

Versions: 1

Compression:

Stored size: 508 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'active_record'

require 'request_store'
require 'easy_presenter'

require 'fake_app/fake_app'

require 'rspec/rails'

RSpec.configure do |config|
  config.before :all do
    unless ActiveRecord::Base.connection.table_exists? 'users'
      SetupMigration.up
    end
  end
  config.before :each do
    %w[User Game Tree].each do |klass|
      klass.constantize.delete_all
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
easy_presenter-1.1.0 spec/spec_helper.rb