Sha256: 5e2a0ae621cca658e869bfb8bcabb89dcdbb441a112c2139746e12aa1eef1a89

Contents?: true

Size: 759 Bytes

Versions: 2

Compression:

Stored size: 759 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__))
ENV['RAILS_ENV'] = 'test'

require File.expand_path('../dummy/config/environment.rb',  __FILE__)
require 'rails/test_help'
require 'rspec/rails'

ActionMailer::Base.delivery_method = :test
ActionMailer::Base.perform_deliveries = true
ActionMailer::Base.default_url_options[:host] = 'test.com'

Rails.backtrace_cleaner.remove_silencers!

ActiveRecord::Migrator.migrate File.expand_path('../dummy/db/migrate/', __FILE__)

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
Dir["#{File.dirname(__FILE__)}/shared/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  require 'rspec/expectations'
  config.include RSpec::Matchers
  config.mock_with :rspec
  config.color_enabled = true
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
morpheus-0.3.8 spec/spec_helper.rb
morpheus-0.3.7 spec/spec_helper.rb