Sha256: 84a376ccb85fe3bcaf63631a421f57f6b4aca0b28bfee3de2e11ed25ae2d6fec

Contents?: true

Size: 524 Bytes

Versions: 5

Compression:

Stored size: 524 Bytes

Contents

MIGRATIONS_ROOT = File.expand_path(File.join(File.dirname(__FILE__),  'migrations'))
require 'spec'
require 'spec/autorun'
require "spec/database_connection"
require "action_pack"
require "action_controller"
require 'octopus'
require "octopus_helper"

Spec::Runner.configure do |config|  
  config.mock_with :rspec

  config.before(:each) do
    Octopus.stub!(:directory).and_return(File.dirname(__FILE__))
    require "database_models"
    clean_all_shards()
  end

  config.after(:each) do
    clean_all_shards()
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ar-octopus-0.0.8 spec/spec_helper.rb
ar-octopus-0.0.7 spec/spec_helper.rb
ar-octopus-0.0.6 spec/spec_helper.rb
ar-octopus-0.0.5 spec/spec_helper.rb
ar-octopus-0.0.4 spec/spec_helper.rb