Permalink
Browse files

Fix tap test.

  • Loading branch information...
1 parent 9a32b45 commit dfc9e627dc2dc8eb7787baeb3be6aa04d88d0bbe Marcel Molina committed May 29, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 test/extensions_test.rb
View
@@ -76,12 +76,7 @@ def test_remove_extended
end
def test_tap
- assert "http://google.com".tap do |url|
- url << "/analtyics/"
- end
- assert "http://google.com".tap do |url|
- url << "/download.zip"
- end
+ assert_equal("http://google.com/foo/", "http://google.com".tap {|url| url << "/foo/" })
end
end

0 comments on commit dfc9e62

Please sign in to comment.