spec/helper.rb in stock_index-0.8.2 vs spec/helper.rb in stock_index-0.8.3

- old
+ new

@@ -11,27 +11,27 @@ WebMock.disable_net_connect!(allow: 'coveralls.io') RSpec.configure do |config| config.before(:each) do - stub_request(:get, "http://en.wikipedia.org/wiki/Dow_Jones_Industrial_Average"). + stub_request(:get, "https://en.wikipedia.org/wiki/Dow_Jones_Industrial_Average"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('dji'), :headers => {}) - stub_request(:get, "http://en.wikipedia.org/wiki/List_of_S&P_500_companies"). + stub_request(:get, "https://en.wikipedia.org/wiki/List_of_S&P_500_companies"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('gspc'), :headers => {}) - stub_request(:get, "http://en.wikipedia.org/wiki/NASDAQ-100"). + stub_request(:get, "https://en.wikipedia.org/wiki/NASDAQ-100"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('ndx'), :headers => {}) stub_request(:get, "http://indexes.nikkei.co.jp/en/nkave/index/component?idx=nk225"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('n225'), :headers => {}) - stub_request(:get, "http://en.wikipedia.org/wiki/Nikkei_225"). + stub_request(:get, "https://en.wikipedia.org/wiki/Nikkei_225"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('n225_wikipedia'), :headers => {}) stub_request(:get, "http://www.sec.gov/cgi-bin/browse-edgar?CIK=CSCO&action=getcompany"). with(:headers => {'Accept' => '*/*'}). @@ -63,10 +63,10 @@ stub_request(:get, "http://www.londonstockexchange.com/exchange/prices-and-markets/stocks/indices/summary/summary-indices-constituents.html?index=UKX&page=6"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html_ftse(6), :headers => {}) - stub_request(:get, "http://en.wikipedia.org/wiki/FTSE_100_Index"). + stub_request(:get, "https://en.wikipedia.org/wiki/FTSE_100_Index"). with(:headers => {'Accept' => '*/*'}). to_return(:status => 200, :body => fixture_html('ftse_wikipedia'), :headers => {}) end end \ No newline at end of file