summaryrefslogtreecommitdiff
path: root/spec/models/container_repository_spec.rb
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-06 12:25:09 +0200
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-04-06 17:34:19 +0200
commit163e9f99ab29524bca204fbd0d0aabc1a1813e4a (patch)
treec9ca5fc023bfea789cd8c1cc2277138a90eb77ea /spec/models/container_repository_spec.rb
parent6d7a52480ccb291de1f9341ed37232fd40b58415 (diff)
downloadgitlab-ce-163e9f99ab29524bca204fbd0d0aabc1a1813e4a.tar.gz
Fix indexes in container repositories table
Diffstat (limited to 'spec/models/container_repository_spec.rb')
-rw-r--r--spec/models/container_repository_spec.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/models/container_repository_spec.rb b/spec/models/container_repository_spec.rb
index 3e6082ec326..f7ee0b57072 100644
--- a/spec/models/container_repository_spec.rb
+++ b/spec/models/container_repository_spec.rb
@@ -21,13 +21,6 @@ describe ContainerRepository do
headers: { 'Content-Type' => 'application/json' })
end
- describe 'validations' do
- it 'validates uniqueness of name scoped to project' do
- expect(subject).to validate_uniqueness_of(:name)
- .scoped_to(:project_id)
- end
- end
-
describe 'associations' do
it 'belongs to the project' do
expect(container_repository).to belong_to(:project)