From bdaa4803fe160f597fff2fd7aeb05ce3a5f2dd53 Mon Sep 17 00:00:00 2001 From: Naomi Dushay Date: Mon, 5 Mar 2018 17:43:24 -0800 Subject: [PATCH] deposit_bag_validator: 10 rubocop errors remain --- spec/unit_tests/moab/deposit_bag_validator_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/unit_tests/moab/deposit_bag_validator_spec.rb b/spec/unit_tests/moab/deposit_bag_validator_spec.rb index 6cd8bc3a..9b0bc4d0 100644 --- a/spec/unit_tests/moab/deposit_bag_validator_spec.rb +++ b/spec/unit_tests/moab/deposit_bag_validator_spec.rb @@ -82,7 +82,7 @@ end describe 'when unrecognized checksum, result array has CHECKSUM_TYPE_UNRECOGNIZED result hash' do - before do + before(:each) do bag_pathname = Pathname(File.join(deposit_dir_pathname, 'unknown-checksum-alg')) @storage_obj = instance_double(Moab::StorageObject, deposit_bag_pathname: bag_pathname, current_version_id: 0) end