spec/helper.rb in goacoustic-0.1.0 vs spec/helper.rb in goacoustic-0.1.1

- old
+ new

@@ -2,25 +2,25 @@ require 'simplecov' SimpleCov.start do add_filter 'spec' end end -require 'acoustic' +require 'goacoustic' require 'rspec' require 'webmock/rspec' require 'pry' def stub_post(url) - stub_request(:post, acoustic_url(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 acoustic_url(url) +def goacoustic_url(url) "https://api-campaign-us-1.goacoustic.com#{url}" end