Sha256: 9de0bf3a4277e98239db1cf87080647e60243b1b1d44c07ef4630d22a6ab8255
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 Bytes
Contents
require 'test_helper' class EngineTest < ActiveSupport::TestCase test "class prefixes" do assert_equal ["TestController"], PushRoutes.class_prefixes("TestController") assert_equal ["Admin","Admin::TestController"], PushRoutes.class_prefixes("Admin::TestController") assert_equal ["namespace","namespace::n","namespace::n::Test:Controller"], PushRoutes.class_prefixes("namespace::n::Test:Controller") end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
push_routes-0.0.8 | test/engine_test.rb |
push_routes-0.0.7 | test/engine_test.rb |
push_routes-0.0.6 | test/engine_test.rb |