Created
April 16, 2015 08:46
-
-
Save Eagllus/76185a4160eeaed2516b to your computer and use it in GitHub Desktop.
Examples
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test 'create with labels' do | |
post(:create, csr: { common_name: 'foo', csr: @csr, labels: ['a', 'b', 'c'] }) | |
assert_response :created | |
assert_equal '/api/certs/foo', @response.location | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment