Sha256: 12fd96cb6e242ac3729f1c5b7d2a64223b8e592b240fd4aa213ee2a6f34f4f10

Contents?: true

Size: 595 Bytes

Versions: 8

Compression:

Stored size: 595 Bytes

Contents

require 'rubygems'
require 'pry'
require 'bundler/setup'
require 'octopus'

Octopus.instance_variable_set(:@directory, File.dirname(__FILE__))

BaseOctopusMigrationClass = (Octopus.rails4? ? ActiveRecord::Migration : ActiveRecord::Migration[ActiveRecord::VERSION::STRING[0..2]])

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.before(:each) do |example|
    OctopusHelper.clean_all_shards(example.metadata[:shards])
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
ar-octopus-ruby-3-0.11.3 spec/spec_helper.rb
ar-octopus-ruby-3-0.11.2 spec/spec_helper.rb
ar-octopus-0.10.2 spec/spec_helper.rb
ar-octopus-0.10.1 spec/spec_helper.rb
ar-octopus-0.10.0 spec/spec_helper.rb
ar-octopus-master-0.9.2.1 spec/spec_helper.rb
ar-octopus-0.9.2 spec/spec_helper.rb
ar-octopus-0.9.1 spec/spec_helper.rb