spec/javascripts/faye-authentication_spec.js in faye-authentication-1.12 vs spec/javascripts/faye-authentication_spec.js in faye-authentication-1.13
- old
+ new
@@ -92,9 +92,17 @@
});
sharedExamplesForSubscribeAndPublish();
});
+ describe('subscribe with prefix', function() {
+ beforeEach(function() {
+ this.message = {'channel': '/meta/subscribe/x', 'subscription': '/foobar'};
+ });
+
+ sharedExamplesForSubscribeAndPublish();
+ });
+
describe('handshake', function() {
beforeEach(function() {
this.message = {'channel': '/meta/handshake'};
});