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
iv
gitlab-ce
Commits
4d2da5fd
Commit
4d2da5fd
authored
Jan 22, 2016
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP - spec failure on .atom project URL
parent
faa9ca09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
spec/controllers/projects_controller_spec.rb
spec/controllers/projects_controller_spec.rb
+11
-0
No files found.
spec/controllers/projects_controller_spec.rb
View file @
4d2da5fd
...
...
@@ -86,6 +86,17 @@ describe ProjectsController do
end
end
end
context
"when the url contains .atom"
do
let
(
:public_project_with_dot
)
{
create
(
:project
,
:public
,
name:
'my.atom'
,
path:
'my.atom'
)
}
it
'loads a project'
do
get
:show
,
namespace_id:
public_project_with_dot
.
namespace
.
path
,
id:
public_project_with_dot
.
path
expect
(
assigns
(
:project
)).
to
eq
(
public_project_with_dot
)
expect
(
response
.
status
).
to
eq
(
200
)
end
end
end
describe
"#destroy"
do
...
...
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