Sha256: 8a0d285f6c646498ca348bbf3ae35dba239e8d5dfbb31cc19508a8ed9d0862d6

Contents?: true

Size: 980 Bytes

Versions: 12

Compression:

Stored size: 980 Bytes

Contents

$LOAD_PATH << "." unless $LOAD_PATH.include?(".")

begin
  require "rubygems"
  require "bundler"

  if Gem::Version.new(Bundler::VERSION) <= Gem::Version.new("0.9.5")
    raise RuntimeError, "Your bundler version is too old." +
     "Run `gem install bundler` to upgrade."
  end

  # Set up load paths for all bundled gems
  Bundler.setup
rescue Bundler::GemNotFound
  raise RuntimeError, "Bundler couldn't find some gems." +
    "Did you run \`bundlee install\`?"
end

#require "active_record"
Bundler.require

require File.expand_path('../../lib/loopiator', __FILE__)

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.include(Helpers)
  
  config.color = true
  config.formatter = 'documentation'
  
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
loopiator-0.4.2 spec/spec_helper.rb
loopiator-0.4.1 spec/spec_helper.rb
loopiator-0.4.0 spec/spec_helper.rb
loopiator-0.3.8 spec/spec_helper.rb
loopiator-0.3.7 spec/spec_helper.rb
loopiator-0.3.6 spec/spec_helper.rb
loopiator-0.3.5 spec/spec_helper.rb
loopiator-0.3.4 spec/spec_helper.rb
loopiator-0.3.3 spec/spec_helper.rb
loopiator-0.3.2 spec/spec_helper.rb
loopiator-0.3.1 spec/spec_helper.rb
loopiator-0.3.0 spec/spec_helper.rb