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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d325f87f
Commit
d325f87f
authored
Nov 19, 2018
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve conflicts in spec/controllers/projects/deploy_keys_controller_spec.rb
parent
04739e57
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
spec/controllers/projects/deploy_keys_controller_spec.rb
spec/controllers/projects/deploy_keys_controller_spec.rb
+0
-6
No files found.
spec/controllers/projects/deploy_keys_controller_spec.rb
View file @
d325f87f
...
...
@@ -127,10 +127,7 @@ describe Projects::DeployKeysController do
expect
do
put
:enable
,
id:
deploy_key
.
id
,
namespace_id:
project
.
namespace
,
project_id:
project
end
.
to
change
{
DeployKeysProject
.
count
}.
by
(
1
)
<<<<<<<
HEAD
.
and
change
{
AuditEvent
.
count
}.
by
(
1
)
## EE only
=======
>>>>>>>
upstream
/
master
expect
(
DeployKeysProject
.
where
(
project_id:
project
.
id
,
deploy_key_id:
deploy_key
.
id
).
count
).
to
eq
(
1
)
expect
(
response
).
to
have_http_status
(
302
)
...
...
@@ -196,10 +193,7 @@ describe Projects::DeployKeysController do
expect
do
put
:disable
,
id:
deploy_key
.
id
,
namespace_id:
project
.
namespace
,
project_id:
project
end
.
to
change
{
DeployKey
.
count
}.
by
(
-
1
)
<<<<<<<
HEAD
.
and
change
{
AuditEvent
.
count
}.
by
(
1
)
## EE only
=======
>>>>>>>
upstream
/
master
expect
(
response
).
to
have_http_status
(
302
)
expect
(
response
).
to
redirect_to
(
namespace_project_settings_repository_path
(
anchor:
'js-deploy-keys-settings'
))
...
...
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