From a8dd43253d6700582ce78a08cffd83fd0963797d Mon Sep 17 00:00:00 2001 From: Evandro Jr Date: Wed, 26 Nov 2014 10:31:34 -0300 Subject: [PATCH] test fixed --- plugins/virtuoso/test/unit/dspace_harvest_test.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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