-
-
Notifications
You must be signed in to change notification settings - Fork 400
Allow to pass options for deploy keys #398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
NARKOZ
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. I've left a comment.
| end | ||
|
|
||
| it "gets the correct resource" do | ||
| expect(a_post("/projects/42/deploy_keys"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed a bracket there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh indeed: will fix.
|
@NARKOZ Done. |
spec/gitlab/client/projects_spec.rb
Outdated
|
|
||
| it "gets the correct resource" do | ||
| expect(a_post("/projects/42/deploy_keys")). | ||
| with(body: { title: 'My Key', key: 'Key contents', can_push: true }).to have_been_made |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mismatched parentheses:
expect(a_post("/projects/42/deploy_keys").
with(body: { title: 'My Key', key: 'Key contents', can_push: true })).to have_been_made
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very sorry...This time, I launched the specs locally.
|
@born4new no problem. Thank you! 👍 |
|
@NARKOZ My pleasure. Would it be possible for you to create a gem release out of it? It's just so that people can just rely on the rubygems version of gitlab-ruby. |
|
@born4new version 4.5.0 |
Fixes #396