Sha256: b23e89b9b091a090d8075b346a23ddd2f039285e043b990f031cf1375faaec8a

Contents?: true

Size: 729 Bytes

Versions: 2

Compression:

Stored size: 729 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

2 entries across 2 versions & 1 rubygems

Version Path
ey-core-3.6.6 spec/spec_helper.rb
ey-core-3.6.5 spec/spec_helper.rb