diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-06 12:25:09 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-04-06 17:34:19 +0200 |
commit | 163e9f99ab29524bca204fbd0d0aabc1a1813e4a (patch) | |
tree | c9ca5fc023bfea789cd8c1cc2277138a90eb77ea /spec/models/container_repository_spec.rb | |
parent | 6d7a52480ccb291de1f9341ed37232fd40b58415 (diff) | |
download | gitlab-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.rb | 7 |
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) |