Sha256: 0df6ec949e0895805c1de4cedcbfeda08edf394f43a1baf9fde2c23f34dd01b5
Contents?: true
Size: 621 Bytes
Versions: 2
Compression:
Stored size: 621 Bytes
Contents
require 'coveralls' Coveralls.wear! ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment", __FILE__) require "database_cleaner" RSpec.configure do |config| config.mock_with :rspec config.order = "random" config.treat_symbols_as_metadata_keys_with_true_values = true config.filter_run focus: true config.run_all_when_everything_filtered = true config.before(:all) do DatabaseCleaner.strategy = :transaction DatabaseCleaner.clean_with(:deletion) end config.around(:each) do |example| DatabaseCleaner.start example.run DatabaseCleaner.clean end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_validators-1.1.1 | spec/spec_helper.rb |
active_validators-1.1.0 | spec/spec_helper.rb |