spec/spec_helper.rb in transifex-ruby-0.0.5 vs spec/spec_helper.rb in transifex-ruby-0.0.6

- old
+ new

@@ -5,10 +5,10 @@ require 'webmock/rspec' BASE_HEADERS = { :content_type => 'application/json; charset=utf-8' } def make_endpoint(path) - URI.join(Transifex::Config::BASE_URL, "/api/2/#{path}").to_s + URI.join(Transifex::Config::BASE_URL, "/api/2#{path}").to_s end def stub_get(path) stub_request(:get, make_endpoint(path)) end