From bb73bb052c17ee518214b7fd48dfc2433fed101b Mon Sep 17 00:00:00 2001 From: tooyosi Date: Tue, 12 Mar 2024 15:11:28 +0000 Subject: [PATCH] refactor project_copier exclude_attributes tests --- spec/lib/project_copier_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/project_copier_spec.rb b/spec/lib/project_copier_spec.rb index c4ab390c7..46cf657f8 100644 --- a/spec/lib/project_copier_spec.rb +++ b/spec/lib/project_copier_spec.rb @@ -45,7 +45,7 @@ project_with_excluded_keys = create(:full_project, classifications_count: 3, classifiers_count: 2, launch_date: Date.yesterday, completeness: 0.5, activity: 1, lock_version: 8) other_copied_project = described_class.new(project_with_excluded_keys.id, copyist.id).copy ProjectCopier::EXCLUDE_ATTRIBUTES.each do |attr| - expect(other_copied_project[attr]).not_to eq(project_with_excluded_keys[attr]) + expect(other_copied_project[attr]).not_to eq(project_with_excluded_keys[attr]) end end