Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tests shouldn't print things. Also use whitespace properly.

  • Loading branch information...
commit 291419e3ba46156f09ac31f267e2016640d286f6 1 parent 9f8e225
Matt Colyer authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 test/test_cijoe_server.rb
View
4 test/test_cijoe_server.rb
@@ -74,11 +74,9 @@ def test_jsonp_should_return_plain_json_without_param
def test_jsonp_should_return_jsonp_with_param
app.joe.last_build = build :failed
get "/api/json?jsonp=fooberz"
- puts last_response.inspect
assert_equal 200, last_response.status
assert_equal 'application/json', last_response.content_type
- assert_match /^fooberz\(/, last_response.body
-
+ assert_match /^fooberz\(/, last_response.body
end
def test_should_not_barf_when_no_build
Please sign in to comment.
Something went wrong with that request. Please try again.