Skip to content

Commit

Permalink
Updates to spec directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jufemaiz committed Jun 24, 2016
1 parent 7762aae commit 11674aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
aemo (0.1.30)
aemo (0.1.31)
activesupport (~> 4.2, >= 4.2.0)
httparty (~> 0.13, >= 0.13.1)
json (~> 1.8)
Expand Down
8 changes: 4 additions & 4 deletions spec/spec_helper.rb
Expand Up @@ -23,16 +23,16 @@
# Market Data
stub_request(:get, 'http://www.nemweb.com.au/mms.GRAPHS/GRAPHS/GRAPH_5NSW1.csv')
.with(headers: { 'Accept' => '*/*', 'User-Agent' => 'Ruby' })
.to_return(status: 200, body: File.new('spec/fixtures/market/GRAPH_5NSW1.csv'), headers: csv_headers)
.to_return(status: 200, body: File.new('spec/fixtures/Market/GRAPH_5NSW1.csv'), headers: csv_headers)
stub_request(:get, 'http://www.nemweb.com.au/mms.GRAPHS/GRAPHS/GRAPH_30NSW1.csv')
.with(headers: { 'Accept' => '*/*', 'User-Agent' => 'Ruby' })
.to_return(status: 200, body: File.new('spec/fixtures/market/GRAPH_30NSW1.csv'), headers: csv_headers)
.to_return(status: 200, body: File.new('spec/fixtures/Market/GRAPH_30NSW1.csv'), headers: csv_headers)
stub_request(:get, 'http://www.nemweb.com.au/mms.GRAPHS/data/DATA201501_NSW1.csv')
.with(headers: { 'Accept' => '*/*', 'User-Agent' => 'Ruby' })
.to_return(status: 200, body: File.new('spec/fixtures/market/DATA201501_NSW1.csv'), headers: csv_headers)
.to_return(status: 200, body: File.new('spec/fixtures/Market/DATA201501_NSW1.csv'), headers: csv_headers)
stub_request(:get, 'http://www.nemweb.com.au/mms.GRAPHS/data/DATA201502_NSW1.csv')
.with(headers: { 'Accept' => '*/*', 'User-Agent' => 'Ruby' })
.to_return(status: 200, body: File.new('spec/fixtures/market/DATA201502_NSW1.csv'), headers: csv_headers)
.to_return(status: 200, body: File.new('spec/fixtures/Market/DATA201502_NSW1.csv'), headers: csv_headers)

# MSATS
stub_request(:get, %r{msats.prod.nemnet.net.au\/msats\/ws\/C4\/ER})
Expand Down

0 comments on commit 11674aa

Please sign in to comment.