Skip to content

Commit 06852de

Browse files
authored
Merge pull request rails#409 from junaruga/hotfix/undefined-metohd-split-for-nil-class
Fix a test failure for undefined method `split' for nil:NilClass.
2 parents 7b4793c + f6c4b0c commit 06852de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_railtie.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def test_sprockets_context_helper
282282
assert env = app.assets
283283
assert_equal "/assets", env.context_class.assets_prefix
284284
assert_equal true, env.context_class.digest_assets
285-
assert_equal nil, env.context_class.config.asset_host
285+
assert_nil env.context_class.config.asset_host
286286
end
287287

288288
def test_manifest_path

0 commit comments

Comments
 (0)