Sha256: 1e4b41ce8f5de53026c2c2ed0dc782783a71d69fb37154855bbd294bc5b918d6

Contents?: true

Size: 522 Bytes

Versions: 1

Compression:

Stored size: 522 Bytes

Contents

$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "replicat"

ENV["RAILS_ENV"] ||= "test"
require File.expand_path("../dummy/config/environment", __FILE__)
require "rspec/rails"

3.times {|i| FileUtils.copy("#{Rails.root}/db/test.sqlite3", "#{Rails.root}/db/test_slave#{i + 1}.sqlite3") }

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.use_transactional_fixtures = true
  config.filter_run :focus
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
replicat-0.0.1 spec/spec_helper.rb