removing brittle assertion

This commit is contained in:
Aaron Patterson
2011-07-07 13:12:28 -07:00
parent 453f2221cb
commit 215193d19a

View File

@@ -1129,7 +1129,6 @@ class AssetTagHelperNonVhostTest < ActionView::TestCase
end
def test_should_wildcard_asset_host_between_zero_and_four
String.any_instance.expects(:hash).times(0)
@controller.config.asset_host = 'http://a%d.example.com'
assert_match(%r(http://a[0123].example.com/collaboration/hieraki/images/xml.png), image_path('xml.png'))
end