remove headers in stubbed request to make travis pass on 1.9

Ryan Loomba 11 anos atrás
pai
commit
6a9cb97350
1 arquivos alterados com 0 adições e 1 exclusões
  1. 0 1
      spec/models/agents/stubhub_agent_spec.rb

+ 0 - 1
spec/models/agents/stubhub_agent_spec.rb

@@ -21,7 +21,6 @@ describe Agents::StubhubAgent do
21 21
 
22 22
   before do
23 23
       stub_request(:get, "http://www.stubhub.com/listingCatalog/select/?q=%2B%20stubhubDocumentType:event%0D%0A%2B%20event_id:#{stubhub_event_id}%0D%0A&rows=10&start=0&wt=json").
24
-         with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'Host'=>'www.stubhub.com', 'User-Agent'=>'Ruby'}).
25 24
          to_return(:status => 200, :body => body, :headers => {})
26 25
 
27 26
     @stubhub_agent = described_class.new(name: name, options: valid_params)