Sha256: a435b16976b78239a1507aa27dc20f86f30d85e0874f2ccee88e3198f5dc1e51

Contents?: true

Size: 572 Bytes

Versions: 2

Compression:

Stored size: 572 Bytes

Contents

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

PROJECT_ROOT = File.expand_path("../..", __FILE__)
$LOAD_PATH << File.join(PROJECT_ROOT, "lib")

require 'rails/all'
require 'rails/test_help'

Bundler.require

require 'diesel/testing'
require 'rspec/rails'
require 'bourne'
require 'timecop'
require 'factory_girl_rails'
require 'shoulda-matchers'

require 'clearance/testing'

Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}

RSpec.configure do |config|
  config.mock_with :mocha
  config.use_transactional_fixtures = true
  config.include FactoryGirl::Syntax::Methods
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
clearance-0.16.3 spec/spec_helper.rb
clearance-0.16.2 spec/spec_helper.rb