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.10.10 spec/spec_helper.rb
saucy-0.10.9 spec/spec_helper.rb
saucy-0.10.8 spec/spec_helper.rb
saucy-0.10.7 spec/spec_helper.rb
saucy-0.10.6 spec/spec_helper.rb
saasy-0.0.2.alpha3 spec/spec_helper.rb
saasy-0.0.2.alpha2 spec/spec_helper.rb
saasy-0.0.2.alpha1 spec/spec_helper.rb
saucy-0.10.5 spec/spec_helper.rb
saucy-0.10.4 spec/spec_helper.rb
saucy-0.10.3 spec/spec_helper.rb
saucy-0.10.2 spec/spec_helper.rb
saucy-0.10.1 spec/spec_helper.rb
saucy-0.10.0 spec/spec_helper.rb
saucy-0.9.1 spec/spec_helper.rb
saucy-0.9.0 spec/spec_helper.rb
saucy-0.8.5 spec/spec_helper.rb
saucy-0.8.4 spec/spec_helper.rb
saucy-0.8.3 spec/spec_helper.rb
saasy-0.0.1 spec/spec_helper.rb