From 4d9475bef91d1df675750aabc13de23c6eff9e92 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 18 Aug 2015 15:20:19 -0700 Subject: symbols will always be constructed with strings. :bomb: --- actionpack/test/journey/nodes/symbol_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test/journey') diff --git a/actionpack/test/journey/nodes/symbol_test.rb b/actionpack/test/journey/nodes/symbol_test.rb index d411a5018a..adf85b860c 100644 --- a/actionpack/test/journey/nodes/symbol_test.rb +++ b/actionpack/test/journey/nodes/symbol_test.rb @@ -5,7 +5,7 @@ module ActionDispatch module Nodes class TestSymbol < ActiveSupport::TestCase def test_default_regexp? - sym = Symbol.new nil + sym = Symbol.new "foo" assert sym.default_regexp? sym.regexp = nil -- cgit v1.2.3