spec/footrest/http_error_spec.rb in footrest-0.1 vs spec/footrest/http_error_spec.rb in footrest-0.1.2
- old
+ new
@@ -1,9 +1,9 @@
require 'helper'
describe Footrest::HttpError do
before do
- @client = Footrest::Client.new(domain: "http://domain.com", token: "test_token")
+ @client = Footrest::Client.new(prefix: "http://domain.com", token: "test_token")
end
it "raises a bad request error" do
stub_request(:get, "http://domain.com/api/v1/not_found").to_return(:status => 400)
\ No newline at end of file