Commit a8dd43253d6700582ce78a08cffd83fd0963797d

Authored by Evandro Jr
1 parent 96050174

test fixed

plugins/virtuoso/test/unit/dspace_harvest_test.rb
... ... @@ -97,7 +97,8 @@ class DspaceHarvestTest < ActiveSupport::TestCase
97 97 harvest = VirtuosoPlugin::DspaceHarvest.new(environment, {"dspace_uri"=>"http://virtuoso" })
98 98 dspace_client = mock
99 99 harvest.expects(:dspace_client).returns(dspace_client)
100   - dspace_client.expects(:list_records).returns([])
  100 + dspace_client.expects(:list_records).returns([])
  101 + harvest.run
101 102 assert_not_equal harvest.last_harvest, nil
102 103 end
103 104  
... ...