Sha256: b547b3aa95ff86274e6e9f9a5ec02602d6f143f29dcd37de216a5690d4b23783

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

unless ENV['CI']
  require 'simplecov'
  SimpleCov.start do
    add_filter 'spec'
  end
end
require 'goacoustic'
require 'rspec'
require 'webmock/rspec'
require 'pry'

def stub_post(url)
  stub_request(:post, goacoustic_url(url))
end

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

def fixture(file)
  File.new(fixture_path + '/' + file)
end

def goacoustic_url(url)
  "https://api-campaign-us-1.goacoustic.com#{url}"
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
goacoustic-0.1.4 spec/helper.rb
goacoustic-0.1.3 spec/helper.rb
goacoustic-0.1.2 spec/helper.rb
goacoustic-0.1.1 spec/helper.rb