Skip to content

Commit

Permalink
Assert no error is implied in all testing frameworks, I don't see why…
Browse files Browse the repository at this point in the history
… this code exists.
  • Loading branch information
raggi committed Feb 20, 2012
1 parent 7889669 commit 9a5c773
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test_async.rb
Expand Up @@ -264,14 +264,12 @@ def test_double_body_bug
end

def test_block_with_no_args
err = aget('/params/test/') rescue $!
assert_nil err
aget '/params/test/'
assert_equal 'test', last_response.body
end

def test_block_with_an_arg
err = aget('/param/test/') rescue $!
assert_nil err
aget '/param/test/'
assert_equal 'test', last_response.body
end

Expand Down

0 comments on commit 9a5c773

Please sign in to comment.