mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
removing brittle assertion
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user