Sha256: fd94f506f74392d41de89d5c2ea68e708d9feab5f313f897af1d2b8be888c185

Contents?: true

Size: 410 Bytes

Versions: 7

Compression:

Stored size: 410 Bytes

Contents

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

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

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

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

def silverpop_url(url)
  "https://api1.silverpop.com#{url}"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
silverpop-0.0.8 spec/helper.rb
silverpop-0.0.7 spec/helper.rb
silverpop-0.0.6 spec/helper.rb
silverpop-0.0.5 spec/helper.rb
silverpop-0.0.4 spec/helper.rb
silverpop-0.0.3 spec/helper.rb
silverpop-0.0.2 spec/helper.rb