Skip to content

Commit

Permalink
Merge pull request #2 from mxkay/perseverance-scraper-spec
Browse files Browse the repository at this point in the history
Perseverance scraper spec
  • Loading branch information
mtilda authored Apr 10, 2021
2 parents cc1a228 + 368b56b commit a6d8b95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/perseverance_scraper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
it "should create photo objects" do
allow(scraper).to receive(:collect_links).and_return ["https://mars.nasa.gov/rss/api/?feed=raw_images&category=mars2020&feedtype=json&sol=1"]

expect{ scraper.scrape }.to change { Photo.count }.by(205)
expect{ scraper.scrape }.to change { Photo.count }.by(34)
end
end
end

0 comments on commit a6d8b95

Please sign in to comment.