Skip to content

Commit

Permalink
adding coverage for repo show
Browse files Browse the repository at this point in the history
  • Loading branch information
sepulworld committed Jul 23, 2016
1 parent ae84826 commit a4a88fa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/test_aptly_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def test_repo_show
assert_includes repo_api.repo_show('testrepotoshow').to_s,
'{"Name"=>"testrepotoshow", "Comment"=>"testing repo show", '\
'"DefaultDistribution"=>"preciseshowtest", "DefaultComponent"=>""}'
ensure
assert_equal '200', repo_api.repo_show(nil).code.to_s
end
end

Expand Down

0 comments on commit a4a88fa

Please sign in to comment.