Sha256: 22d3d246d38f680fd1cab0903269c8e8022990522196edec5590e0da32958caf

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

require 'abstract_unit'

module ActionDispatch
  module Journey
    module Nodes
      class TestSymbol < ActiveSupport::TestCase
        def test_default_regexp?
          sym = Symbol.new nil
          assert sym.default_regexp?

          sym.regexp = nil
          assert_not sym.default_regexp?
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activejob-lock-0.0.2 rails/actionpack/test/journey/nodes/symbol_test.rb
activejob-lock-0.0.1 rails/actionpack/test/journey/nodes/symbol_test.rb