Sha256: a98066fc90990a2433ea2f4a4e090bc3db8542faf4da653bf023528179f4cd6e
Contents?: true
Size: 567 Bytes
Versions: 3
Compression:
Stored size: 567 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
faye-0.8.11 | spec/javascript/channel_spec.js |
face-faye-0.8.9 | spec/javascript/channel_spec.js |
faye-0.8.9 | spec/javascript/channel_spec.js |