Sha256: cf385bccef53da05a7bfb705069d21b00227b1c4b55865637e06a654a954e006

Contents?: true

Size: 702 Bytes

Versions: 8

Compression:

Stored size: 702 Bytes

Contents

ENV['MOCK_CORE'] ||= 'true'
ENV['CORE_URL'] ||= "http://api-development.localdev.engineyard.com:9292"

require 'pry'
require 'pry-nav'
require 'tempfile'

Bundler.require(:default, :test)

require File.expand_path("../../lib/ey-core", __FILE__)
Dir[File.expand_path("../{shared,support}/*.rb", __FILE__)].each{|f| require(f)}

RSpec.configure do |config|
  config.order = "random"
  config.after(:each) do
    $stdout = STDOUT
    $stdin = STDIN
    $stderr = STDERR
  end

  #
  # This allows to have not_change matcher, i.e.
  #
  #   expect { something }.to change { other_thing }
  #     .and not_change { completely_other_things }
  RSpec::Matchers.define_negated_matcher :not_change, :change
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 spec/spec_helper.rb
ey-core-3.6.4 spec/spec_helper.rb
ey-core-3.6.3 spec/spec_helper.rb
ey-core-3.6.1 spec/spec_helper.rb
groove-ey-core-3.6.3 spec/spec_helper.rb
groove-ey-core-3.6.2 spec/spec_helper.rb
groove-ey-core-3.6.1 spec/spec_helper.rb
ey-core-3.5.0 spec/spec_helper.rb