summaryrefslogtreecommitdiff
path: root/spec/models/lfs_objects_project_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/models/lfs_objects_project_spec.rb')
-rw-r--r--spec/models/lfs_objects_project_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/lfs_objects_project_spec.rb b/spec/models/lfs_objects_project_spec.rb
index 3e86ee38566..e320f873989 100644
--- a/spec/models/lfs_objects_project_spec.rb
+++ b/spec/models/lfs_objects_project_spec.rb
@@ -20,8 +20,8 @@ describe LfsObjectsProject do
it 'validates object id' do
is_expected.to validate_uniqueness_of(:lfs_object_id)
- .scoped_to(:project_id)
- .with_message("already exists in project")
+ .scoped_to(:project_id, :repository_type)
+ .with_message("already exists in repository")
end
end