spec/helper.rb in githu3-0.0.2 vs spec/helper.rb in githu3-0.0.3

- old
+ new

@@ -13,9 +13,9 @@ def fixture(file) File.new(fixture_path + '/' + file) end def stub_get url, fixture_name, headers={ 'Authorization'=>'token myvalidtoken' } - stub_request(:get, "https://api.github.com#{url}"). + stub_request(:get, "#{Githu3::Client::BaseUrl}#{url}"). with(:headers => headers). to_return(:status => 200, :body => fixture("#{fixture_name}.json")) end \ No newline at end of file