Sha256: c1fb37bbd9eac3694b544d8f619096ed20d39611670fb4d04a2b28acf107e15a

Contents?: true

Size: 882 Bytes

Versions: 3

Compression:

Stored size: 882 Bytes

Contents

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

begin
  require File.expand_path('../test_app/config/environment', __FILE__)
rescue LoadError
  puts 'Could not load test application. Please ensure you have run `bundle exec rake test_app`'
end

require 'rspec/rails'

Dir["./spec/support/**/*.rb"].sort.each { |f| require f }

RSpec.configure do |config|
  config.color = true
  config.fail_fast = ENV['FAIL_FAST'] || false
  config.fixture_path = File.join(File.expand_path(File.dirname(__FILE__)), "fixtures")
  config.infer_spec_type_from_file_location!
  config.mock_with :rspec
  config.raise_errors_for_deprecations!

  # If you're not using ActiveRecord, or you'd prefer not to run each of your
  # examples within a transaction, comment the following line or assign false
  # instead of true.
  config.use_transactional_fixtures = true

  config.before :each do
    Rails.cache.clear
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reactive-ruby-0.7.25 spec/spec_helper.rb
reactive-ruby-0.7.24 spec/spec_helper.rb
reactive-ruby-0.7.23 spec/spec_helper.rb