Commit a8dd43253d6700582ce78a08cffd83fd0963797d
1 parent
96050174
Exists in
staging
and in
4 other branches
test fixed
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
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 | ... | ... |