Sha256: 67aae26faf32d7de7a60e16cf96c00c2b3a842f5f55ca4b4b2d6e218e80632dd
Contents?: true
Size: 682 Bytes
Versions: 3
Compression:
Stored size: 682 Bytes
Contents
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__) require "replidog" require "database_rewinder" require "pry" ENV["RAILS_ENV"] ||= "test" require File.expand_path("../dummy/config/environment", __FILE__) require "rspec/rails" RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.before(:suite) do DatabaseRewinder["test"] DatabaseRewinder["test_slave1"] DatabaseRewinder["test_slave2"] DatabaseRewinder["test_slave3"] DatabaseRewinder["test_user"] DatabaseRewinder["test_user_slave"] DatabaseRewinder.clean_all end config.after(:each) do DatabaseRewinder.clean end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
replidog-1.1.3 | spec/spec_helper.rb |
replidog-1.1.2 | spec/spec_helper.rb |
replidog-1.1.1 | spec/spec_helper.rb |