Sha256: 72e5782a5ee44c648e539e32897aaaa8cdcf6c1f8b8eecb7e6a451261fe1b516
Contents?: true
Size: 997 Bytes
Versions: 3
Compression:
Stored size: 997 Bytes
Contents
# this needs to be before requiring other formatters RSpec.configure(&:raise_errors_for_deprecations!) require 'rubygems' require File.expand_path('../dummy/config/environment', __FILE__) require 'rails' require 'rspec/rails' require 'machinist/active_record' # This file is copied to spec/ when you run 'rails generate rspec:install' ENV['RAILS_ENV'] ||= 'test' # This code will be run each time you run your specs. 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 :rspec config.order = 'random' config.before(:suite) do DatabaseCleaner.strategy = :truncation end config.before(:example) do DatabaseCleaner.start ActionMailer::Base.deliveries.clear end config.after(:example) do DatabaseCleaner.clean end end require File.expand_path('../support/blueprints', __FILE__)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ns_settings_ui-1.4.0 | spec/spec_helper.rb~ |
ns_settings_ui-1.1.0 | spec/spec_helper.rb~ |
ns_settings_ui-1.0.0 | spec/spec_helper.rb~ |