Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@born4new
Copy link
Contributor

Fixes #396

Copy link
Owner

@NARKOZ NARKOZ left a 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").
Copy link
Owner

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh indeed: will fix.

@born4new
Copy link
Contributor Author

@NARKOZ Done.


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
Copy link
Owner

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

Copy link
Contributor Author

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.

@NARKOZ
Copy link
Owner

NARKOZ commented Jul 31, 2018

@born4new no problem. Thank you! 👍

@NARKOZ NARKOZ merged commit 7953152 into NARKOZ:master Jul 31, 2018
@born4new born4new deleted the deploy_keys_with_options branch July 31, 2018 14:12
@born4new
Copy link
Contributor Author

@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.

@NARKOZ
Copy link
Owner

NARKOZ commented Aug 7, 2018

@born4new version 4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants