diff --git a/plugins/virtuoso/test/unit/dspace_harvest_test.rb b/plugins/virtuoso/test/unit/dspace_harvest_test.rb index 1ae24de..ae94f68 100644 --- a/plugins/virtuoso/test/unit/dspace_harvest_test.rb +++ b/plugins/virtuoso/test/unit/dspace_harvest_test.rb @@ -97,7 +97,8 @@ class DspaceHarvestTest < ActiveSupport::TestCase harvest = VirtuosoPlugin::DspaceHarvest.new(environment, {"dspace_uri"=>"http://virtuoso" }) dspace_client = mock harvest.expects(:dspace_client).returns(dspace_client) - dspace_client.expects(:list_records).returns([]) + dspace_client.expects(:list_records).returns([]) + harvest.run assert_not_equal harvest.last_harvest, nil end -- libgit2 0.21.2