Sha256: 1726f96bfe844dba14bcfbf5548d215524260dcdc41c7797a1ded43cd2d01770

Contents?: true

Size: 1.15 KB

Versions: 95

Compression:

Stored size: 1.15 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'
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

95 entries across 95 versions & 2 rubygems

Version Path
saucy-0.2.14 spec/spec_helper.rb
saucy-0.2.13 spec/spec_helper.rb
saucy-0.2.12 spec/spec_helper.rb
saucy-0.2.11 spec/spec_helper.rb
saucy-0.2.10 spec/spec_helper.rb
saucy-0.2.9 spec/spec_helper.rb
saucy-0.2.8.1 spec/spec_helper.rb
saucy-0.2.8 spec/spec_helper.rb
saucy-0.2.7 spec/spec_helper.rb
saucy-0.2.6.1 spec/spec_helper.rb
saucy-0.2.6 spec/spec_helper.rb
saucy-0.2.5 spec/spec_helper.rb
saucy-0.2.4.1 spec/spec_helper.rb
saucy-0.2.4 spec/spec_helper.rb
saucy-0.2.3 spec/spec_helper.rb