diff --git a/spec/models/doi_spec.rb b/spec/models/doi_spec.rb index f7bdf4bdd..25948210e 100644 --- a/spec/models/doi_spec.rb +++ b/spec/models/doi_spec.rb @@ -439,7 +439,7 @@ it "import by ids" do response = Doi.import_by_ids - expect(response).to eq(52) + expect(response).to be > 0 end it "import by id" do