Sha256: 4ecbdcdf3cd0e6b27a9b6eb793c37c54fed909f700909fc21f13576f279dd17e

Contents?: true

Size: 484 Bytes

Versions: 1

Compression:

Stored size: 484 Bytes

Contents

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

require 'active_record'

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.1 spec/spec_helper.rb