Sha256: b3e917e18bf30d5f41c38fad747f2a105fa233a20b45c1615f0fdf72c847655c

Contents?: true

Size: 506 Bytes

Versions: 1

Compression:

Stored size: 506 Bytes

Contents

if Undo::RUNNING_ON_CI
  require 'coveralls'
  Coveralls.wear!
else
  require 'pry'
end

ENV['RAILS_ENV'] ||= 'test'

require File.expand_path('../rails_app/config/environment', __FILE__)
require 'rspec'
require_relative 'factories'

ActiveRecord::Migration.verbose = false
ActiveRecord::Migrator.migrate(Rails.root.join('db', 'migrate').to_s)

RSpec.configure do |config|
  config.mock_with :rspec do |config|
    config.syntax = [:expect, :should]
  end
  config.include FactoryGirl::Syntax::Methods
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
undo-0.0.1 spec/spec_helper_rails.rb