Skip to content

Commit

Permalink
Removed complex headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jufemaiz committed Mar 23, 2016
1 parent bcec575 commit cef18c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
config.before(:each) do
# Market Data
stub_request(:get, "http://www.nemweb.com.au/mms.GRAPHS/GRAPHS/GRAPH_5NSW1.csv").
with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'}).
with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
to_return(status: 200, body: File.new('spec/fixtures/GRAPH_5NSW1.csv'), headers: {'Content-Type'=>'text/csv'})
stub_request(:get, 'http://www.nemweb.com.au/mms.GRAPHS/GRAPHS/GRAPH_30NSW1.csv').
with(:headers => {'Accept'=>'*/*', 'Accept-Encoding'=>'gzip;q=1.0,deflate;q=0.6,identity;q=0.3', 'User-Agent'=>'Ruby'}).
with(:headers => {'Accept'=>'*/*', 'User-Agent'=>'Ruby'}).
to_return(status: 200, body: File.new('spec/fixtures/GRAPH_30NSW1.csv'), headers: {'Content-Type'=>'text/csv'})

# MSATS
Expand Down

0 comments on commit cef18c7

Please sign in to comment.