spec/lib/faye/authentication_spec.rb in faye-authentication-1.12 vs spec/lib/faye/authentication_spec.rb in faye-authentication-1.13

- old
+ new

@@ -130,9 +130,14 @@ context 'subscribe' do let(:message) { {'channel' => '/meta/subscribe', 'subscription' => '/foobar'} } it_behaves_like 'subscribe_and_publish' end + context 'subscribe with prefix' do + let(:message) { {'channel' => '/meta/subscribe/x', 'subscription' => '/foobar'} } + it_behaves_like 'subscribe_and_publish' + end + context 'handshake' do let(:message) { {'channel' => '/meta/handshake'} } it_behaves_like 'meta_except_subscribe' end