diff --git a/spec/onstomp/client_spec.rb b/spec/onstomp/client_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/onstomp/client_spec.rb
+++ b/spec/onstomp/client_spec.rb
@@ -232,6 +232,10 @@ module OnStomp
         client.processor = '::Module'
         client.processor.should == Module
       end
+      it "should use the NilProcessor if set to nil" do
+        client.processor = nil
+        client.processor.should == OnStomp::Components::NilProcessor
+      end
     end
     
     describe ".login" do
forgot to test setting client.processor to nil