Skip to content

Commit

Permalink
hound
Browse files Browse the repository at this point in the history
  • Loading branch information
philippbayer committed Feb 11, 2016
1 parent 4e2e0d4 commit a194c14
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/workers/plos_details_spec.rb
@@ -1,13 +1,12 @@
describe PlosDetails do
let(:plos_paper) do
create(:plos_paper, id: 1, reader: 0, doi: "10.1371/journal.pone.0089204")
create(:plos_paper, id: 1, reader: 0, doi: '10.1371/journal.pone.0089204')
end
let(:job) {PlosDetails.new}

it "updates the view count" do
it 'updates the view count' do
before = plos_paper.reader
job.perform plos_paper.id
expect(plos_paper.reader).not_to eq(before)
end

end

0 comments on commit a194c14

Please sign in to comment.