Sha256: 64bfe925f83d4a2ee7dfed08f75cad5fc4892867ff0151cd1871c2cdaa6001da
Contents?: true
Size: 876 Bytes
Versions: 2
Compression:
Stored size: 876 Bytes
Contents
ENV['RAILS_ENV'] ||= 'test' require "codeclimate-test-reporter" CodeClimate::TestReporter.start require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require 'rspec/autorun' require 'factory_girl_rails' Rails.backtrace_cleaner.remove_silencers! # Load support files Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } RSpec.configure do |config| config.mock_with :rspec config.use_transactional_fixtures = true config.infer_base_class_for_anonymous_controllers = false config.infer_spec_type_from_file_location! config.order = "random" end RSpec.configure do |config| # Allow to use build and create methods without FactoryGirl prefix. config.include FactoryGirl::Syntax::Methods # Make sure factories are up to date when using spring config.before(:all) do FactoryGirl.reload end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
txtblx-0.0.4 | spec/spec_helper.rb |
txtblx-0.0.3 | spec/spec_helper.rb |