Permalink
Browse files

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

  • Loading branch information...
1 parent 9f8e225 commit 291419e3ba46156f09ac31f267e2016640d286f6 Matt Colyer committed Mar 31, 2011
Showing with 1 addition and 3 deletions.
  1. +1 −3 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

0 comments on commit 291419e

Please sign in to comment.