spec/git_trend/cli_spec.rb in git-trend-1.2.1 vs spec/git_trend/cli_spec.rb in git-trend-1.2.2
- old
+ new
@@ -243,10 +243,9 @@
end
end
end
private
-
def stub_request_get(stub_url_path, stub_file_name = nil)
url = Scraper::BASE_HOST.dup
url << "/#{stub_url_path}" if stub_url_path
uri = URI.parse(url)
stub_file = stub_file_name || stub_url_path