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
Boxiang Sun
gitlab-ce
Commits
7e9448b7
Commit
7e9448b7
authored
Jun 26, 2018
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove duplicate spec
parent
8c5eff29
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
spec/requests/api/branches_spec.rb
spec/requests/api/branches_spec.rb
+0
-6
No files found.
spec/requests/api/branches_spec.rb
View file @
7e9448b7
...
@@ -181,12 +181,6 @@ describe API::Branches do
...
@@ -181,12 +181,6 @@ describe API::Branches do
expect
(
json_response
[
'can_push'
]).
to
eq
(
true
)
expect
(
json_response
[
'can_push'
]).
to
eq
(
true
)
end
end
it
'returns that the current user can push'
do
get
api
(
route
,
current_user
)
expect
(
json_response
[
'can_push'
]).
to
eq
(
true
)
end
context
'when branch contains a dot'
do
context
'when branch contains a dot'
do
let
(
:branch_name
)
{
branch_with_dot
.
name
}
let
(
:branch_name
)
{
branch_with_dot
.
name
}
...
...
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