aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-18 15:20:19 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-18 15:20:19 -0700
commit4d9475bef91d1df675750aabc13de23c6eff9e92 (patch)
tree5d8235fd593712bc9164e0a2a159915d4ca1b0ae
parent01d88953e2b4049c0a13f6f2343403bd71696b31 (diff)
downloadrails-4d9475bef91d1df675750aabc13de23c6eff9e92.tar.gz
rails-4d9475bef91d1df675750aabc13de23c6eff9e92.tar.bz2
rails-4d9475bef91d1df675750aabc13de23c6eff9e92.zip
symbols will always be constructed with strings. :bomb:
-rw-r--r--actionpack/test/journey/nodes/symbol_test.rb2
1 files changed, 1 insertions, 1 deletions
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