Sha256: 84dcc9f4a7e4ec663294ed43759c30304d5acd5c799928123674e70ad34bbce2
Contents?: true
Size: 585 Bytes
Versions: 23
Compression:
Stored size: 585 Bytes
Contents
JS.ENV.ChannelSpec = JS.Test.describe("Channel", function() { with(this) { describe("expand", function() { with(this) { it("returns all patterns that match a channel", function() { with(this) { assertEqual( ["/**", "/foo", "/*"], Faye.Channel.expand("/foo") ) assertEqual( ["/**", "/foo/bar", "/foo/*", "/foo/**"], Faye.Channel.expand("/foo/bar") ) assertEqual( ["/**", "/foo/bar/qux", "/foo/bar/*", "/foo/**", "/foo/bar/**"], Faye.Channel.expand("/foo/bar/qux") ) }}) }}) }})
Version data entries
23 entries across 23 versions & 3 rubygems