Sha256: 486bc6d0632f14f9a6feeac5262b5be95128e948cec68083201b34ba3b73dbb7

Contents?: true

Size: 675 Bytes

Versions: 12

Compression:

Stored size: 675 Bytes

Contents

require "rubygems"
if ENV["VERSION"]
  gem 'activerecord', ENV["VERSION"]
  gem 'activesupport', ENV["VERSION"]
  gem 'actionpack', ENV["VERSION"]
end

require "bundler"
Bundler.setup()
require File.expand_path(File.dirname(__FILE__)) + "/database_connection"
require "octopus"
require "octopus_helper"
require "action_controller"
require 'rspec/core'

MIGRATIONS_ROOT = File.expand_path(File.join(File.dirname(__FILE__),  'migrations'))

RSpec.configure do |config|
  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

12 entries across 12 versions & 1 rubygems

Version Path
ar-octopus-0.3.3 spec/spec_helper.rb
ar-octopus-0.3.2 spec/spec_helper.rb
ar-octopus-0.3.1 spec/spec_helper.rb
ar-octopus-0.3.0 spec/spec_helper.rb
ar-octopus-0.2.2 spec/spec_helper.rb
ar-octopus-0.2.1 spec/spec_helper.rb
ar-octopus-0.2.0 spec/spec_helper.rb
ar-octopus-0.1.2 spec/spec_helper.rb
ar-octopus-0.1.1 spec/spec_helper.rb
ar-octopus-0.1.0 spec/spec_helper.rb
ar-octopus-0.0.30 spec/spec_helper.rb
ar-octopus-0.0.29 spec/spec_helper.rb