Sha256: eceef645e29e7cc0d06cc961784b47e7cc45b7bfe5b887f11ffcab2ba4af555c

Contents?: true

Size: 1.16 KB

Versions: 21

Compression:

Stored size: 1.16 KB

Contents

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'

if File.exist?("config/environment.rb")
  require "./config/environment"
else
  require File.expand_path("../environment", __FILE__)
end

require 'rspec/rails'
require 'shoulda/matchers'
require 'timecop'

# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
  # == Mock Framework
  #
  # If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
  #
  # config.mock_with :mocha
  # config.mock_with :flexmock
  # config.mock_with :rr
  config.mock_with :mocha

  # Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
  config.fixture_path = "#{::Rails.root}/spec/fixtures"

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

  config.backtrace_clean_patterns << %r{gems/}

  config.include AuthenticationHelpers
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
saucy-0.15.2 spec/spec_helper.rb
saucy-0.15.1 spec/spec_helper.rb
saucy-0.15.0 spec/spec_helper.rb
saucy-0.14.5 spec/spec_helper.rb
saucy-0.14.3 spec/spec_helper.rb
saucy-0.14.2 spec/spec_helper.rb
saucy-0.14.1 spec/spec_helper.rb
saucy-0.14.0 spec/spec_helper.rb
saucy-0.13.3 spec/spec_helper.rb
saucy-0.13.2 spec/spec_helper.rb
saucy-0.13.1 spec/spec_helper.rb
saucy-0.13.0 spec/spec_helper.rb
saucy-0.12.5 spec/spec_helper.rb
saucy-0.12.4 spec/spec_helper.rb
saucy-0.12.3 spec/spec_helper.rb
saucy-0.12.2 spec/spec_helper.rb
saucy-0.12.1 spec/spec_helper.rb
saucy-0.12.0 spec/spec_helper.rb
saucy-0.11.5 spec/spec_helper.rb
saucy-0.11.3 spec/spec_helper.rb