Skip to content

Commit ef6b7b2

Browse files
committed
We're not testing asset filtering here: precompile everything
1 parent 8307ebd commit ef6b7b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,7 @@ def test_stylesheet_path
374374

375375
def test_absolute_asset_path_error
376376
Sprockets::Rails::Helper.raise_runtime_errors = true
377+
Sprockets::Rails::Helper.precompile = [ lambda {|logical_path| true } ]
377378
@view.assets_environment = @assets
378379

379380
assert_equal "/assets/foo-#{@foo_js_digest}.js", @view.asset_path("foo.js")

0 commit comments

Comments
 (0)