Sha256: 4541fb0bb1aa7cd4b98c652669c457d272fc8f11525c0c4a770fd179d8bcbd19

Contents?: true

Size: 397 Bytes

Versions: 47

Compression:

Stored size: 397 Bytes

Contents

# frozen_string_literal: true

require "abstract_unit"

module ActionDispatch
  module Journey
    module Nodes
      class TestSymbol < ActiveSupport::TestCase
        def test_default_regexp?
          sym = Symbol.new "foo"
          assert_predicate sym, :default_regexp?

          sym.regexp = nil
          assert_not_predicate sym, :default_regexp?
        end
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
jets-1.9.7 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.6 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.5 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.4 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.3 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.2 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.1 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.9.0 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.14 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.13 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.12 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.11 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.10 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.9 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.8 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.7 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.6 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.5 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.4 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb
jets-1.8.3 vendor/rails/actionpack/test/journey/nodes/symbol_test.rb