Skip to content

Commit

Permalink
refactor project_copier exclude_attributes tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Mar 12, 2024
1 parent 1317b94 commit bb73bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/project_copier_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit bb73bb0

Please sign in to comment.