Rename onethingwell.atom to .rss because it is actually an RSS file

This commit is contained in:
Akinori MUSHA 2016-10-27 07:30:08 +09:00
parent 950975d7a8
commit cb0e8f68f9
2 changed files with 1 additions and 1 deletions

View file

@ -9,7 +9,7 @@ describe Agents::RssAgent do
stub_request(:any, /github.com/).to_return(:body => File.read(Rails.root.join("spec/data_fixtures/github_rss.atom")), :status => 200)
stub_request(:any, /SlickdealsnetFP/).to_return(:body => File.read(Rails.root.join("spec/data_fixtures/slickdeals.atom")), :status => 200)
stub_request(:any, /onethingwell.org/).to_return(:body => File.read(Rails.root.join("spec/data_fixtures/onethingwell.atom")), :status => 200)
stub_request(:any, /onethingwell.org/).to_return(body: File.read(Rails.root.join("spec/data_fixtures/onethingwell.rss")), status: 200)
end
let(:agent) do