File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -700,15 +700,15 @@ def test_ignores_missing_dependencies
700
700
assert_includes paths , "missing.css.erb"
701
701
end
702
702
703
- if Sprockets ::VERSION > "3"
703
+ if Sprockets ::VERSION > "3.1 "
704
704
def test_asset_path_with_index_requires_exact_logical_path
705
705
Sprockets ::Rails ::Helper . raise_runtime_errors = true
706
- Sprockets ::Rails ::Helper . precompile = [ "bundle.js" ]
706
+ Sprockets ::Rails ::Helper . precompile = [ "bundle/index .js" ]
707
707
708
- assert @view . asset_path ( "bundle.js" )
708
+ assert @view . asset_path ( "bundle/index .js" )
709
709
710
710
assert_raises ( Sprockets ::Rails ::Helper ::AssetAliasUsed ) do
711
- assert @view . asset_path ( "bundle/index .js" )
711
+ assert @view . asset_path ( "bundle.js" )
712
712
end
713
713
end
714
714
You can’t perform that action at this time.
0 commit comments