Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
f09e3fe8
Commit
f09e3fe8
authored
Mar 27, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few pending specs for container repository
parent
1a4c60ef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
spec/models/container_repository_spec.rb
spec/models/container_repository_spec.rb
+25
-0
No files found.
spec/models/container_repository_spec.rb
View file @
f09e3fe8
...
@@ -92,4 +92,29 @@ describe ContainerRepository do
...
@@ -92,4 +92,29 @@ describe ContainerRepository do
end
end
end
end
end
end
describe
'#from_repository_path'
do
context
'when received multi-level repository path'
do
let
(
:repository
)
do
described_class
.
from_repository_path
(
'group/test/some/image/name'
)
end
pending
'fabricates object within a correct project'
do
expect
(
repository
.
project
).
to
eq
project
end
pending
'it fabricates project with a correct name'
do
expect
(
repository
.
name
).
to
eq
'some/image/name'
end
end
context
'when path contains too many nodes'
do
end
context
'when received multi-level repository with nested groups'
do
end
context
'when received root repository path'
do
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment