|
|
@@ -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)
|