Sha256: 79e26f22706ec26659fe5acf5fd6c16685fbbb5c32400d64316b48edee07848e

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

require "rubygems"
require "pry"
require "bundler/setup"
require "octopus"

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

# 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
    OctopusHelper.clean_all_shards(example.metadata[:shards])
  end
end

$: << File.expand_path(File.join(File.dirname(__FILE__), "support"))

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ar-octopus-0.6.0 spec/spec_helper.rb
ar-octopus-0.5.0 spec/spec_helper.rb