Skip to content

Commit

Permalink
Added a missing assert in test. Passing OK
Browse files Browse the repository at this point in the history
  • Loading branch information
chubas committed Jul 16, 2009
1 parent 78228c7 commit d0bd3cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_yield_matches_in_regexes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def test_yielded_matches_are_capture_groups
FakeWeb.register_uri(:get, %r|http://example\.com/([^/]*)/(?:[^/]*)/([^/]*)|, :body => proc)
response = Net::HTTP.start('example.com') { |query| query.get('/foo/bar/baz') }
assert_equal 'foo, baz', response.body
assert_equal ['foo', 'baz'], expected_args
end

def test_not_interferes_with_normal_response_bodies
Expand Down

0 comments on commit d0bd3cd

Please sign in to comment.