Sha256: 2ab7ef9b8bc344e42af70ed55d19904992fb6d77bc31f58a726e9f1a69e77e7f

Contents?: true

Size: 362 Bytes

Versions: 7

Compression:

Stored size: 362 Bytes

Contents

require 'bundler/setup'
require 'rspec'
require 'webmock/rspec'
require 'heroku/scalr'

WebMock.disable_net_connect!

module Heroku::Scalr::SpecHelper

  def fixture_path(name)
    File.join File.expand_path("../fixtures", __FILE__), name
  end

end

RSpec.configure do |c|
  c.before { Heroku::Scalr.logger.stub(:add) }
  c.include Heroku::Scalr::SpecHelper
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
heroku-scalr-0.3.0 spec/spec_helper.rb
heroku-scalr-0.2.4 spec/spec_helper.rb
heroku-scalr-0.2.3 spec/spec_helper.rb
heroku-scalr-0.2.2 spec/spec_helper.rb
heroku-scalr-0.2.1 spec/spec_helper.rb
heroku-scalr-0.2.0 spec/spec_helper.rb
heroku-scalr-0.1.0 spec/spec_helper.rb