From 8395693a72b8f1f7c7ab2bc2d25a56e9707bcefa Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Tue, 18 Sep 2018 09:00:06 +0200 Subject: [PATCH] update spec --- spec/lib/tasks/doi_rake_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/tasks/doi_rake_spec.rb b/spec/lib/tasks/doi_rake_spec.rb index 3b4ced6b0..92415e8f6 100644 --- a/spec/lib/tasks/doi_rake_spec.rb +++ b/spec/lib/tasks/doi_rake_spec.rb @@ -8,7 +8,7 @@ ENV['UNTIL_DATE'] = "2018-08-05" let!(:doi) { create_list(:doi, 10) } - let(:output) { "Queued indexing for DOIs updated from 2018-01-01 until 2018-08-31.\n" } + let(:output) { "Queued indexing for DOIs updated from 2018-01-04 until 2018-08-05.\n" } it "prerequisites should include environment" do expect(subject.prerequisites).to include("environment") @@ -21,7 +21,7 @@ it "should enqueue an DoiIndexByDayJob" do expect { capture_stdout { subject.invoke } - }.to change(enqueued_jobs, :size).by(243) + }.to change(enqueued_jobs, :size).by(214) expect(enqueued_jobs.last[:job]).to be(DoiIndexByDayJob) end end