summaryrefslogtreecommitdiff
path: root/spec/models/container_repository_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add # frozen_string_literal to spec/modelsThong Kuah2019-04-011-0/+2
| | | | Adds `# frozen_string_literal: true` to spec/models ruby files
* Prevent new / renamed project from using a repository path that already ↵Gabriel Mazetto2017-08-251-1/+1
| | | | | | | | | | exists on disk There are some redundancies in the validation steps, and that is to preserve current error messages behavior Also few specs have to be changed in order to fix madness in validation logic.
* Ensure all project factories use `:repository` trait or `:empty_project`rs-empty_project-cleanupRobert Speicher2017-08-011-2/+2
|
* Sanitize container repository path in model classfix/gb/fix-registry-for-uppercased-project-pathsGrzegorz Bizon2017-04-131-2/+12
|
* Improve test examples for container repository classGrzegorz Bizon2017-04-101-21/+21
|
* Add method that returns a registry repository locationGrzegorz Bizon2017-04-101-0/+15
|
* Fix indexes in container repositories tableGrzegorz Bizon2017-04-061-7/+0
|
* Remove legacy registry tags when deleting a projectGrzegorz Bizon2017-04-041-0/+18
|
* Simplify container repository build method specsGrzegorz Bizon2017-04-031-3/+4
|
* Ensure root container repository when visiting registryGrzegorz Bizon2017-04-031-0/+37
| | | | | Root container repository is a images repository that had been created before 9.1, before we introduced multi-level images support.
* Validate uniqueness of container repository nameGrzegorz Bizon2017-04-031-0/+7
|
* Add missing test example for container repository tagsGrzegorz Bizon2017-04-031-0/+6
|
* Add specs for container repository factory methodGrzegorz Bizon2017-03-311-8/+43
|
* Improve code related to removing container image tagsGrzegorz Bizon2017-03-311-19/+11
|
* Add a few pending specs for container repositoryGrzegorz Bizon2017-03-271-0/+25
|
* Fix Rubocop offenses in container repository codeGrzegorz Bizon2017-03-231-5/+4
|
* Fix specs for container repository model classGrzegorz Bizon2017-03-231-0/+96