diff --git a/spec/chubbies/app.rb b/spec/chubbies/app.rb
index 04f4bcdb4d739b98ee7b07028fdcdf2c1f89e649..fd4774f0065b92a58760b8740d9232ebd72ce2d9 100644
--- a/spec/chubbies/app.rb
+++ b/spec/chubbies/app.rb
@@ -40,6 +40,9 @@ module Chubbies
     has_one :access_token, :class_name => "DiasporaClient::AccessToken", :dependent => :destroy
   end
 
+  DiasporaClient.config do |d|
+    d.private_key_path = File.dirname(__FILE__) + "/chubbies.private.pem"
+  end
 
   class App < DiasporaClient::App
     def current_user
diff --git a/spec/chubbies/config.ru b/spec/chubbies/config.ru
index 6a2479450e5eb8e5837ee11639d22ab38402707c..781e7cad417f3b597f34aafa1d919001ed0cad21 100644
--- a/spec/chubbies/config.ru
+++ b/spec/chubbies/config.ru
@@ -1,4 +1,5 @@
 require  File.dirname(__FILE__) + '/app'
 require "bundler/setup"
 
+
 run Chubbies::App
diff --git a/spec/controllers/authorizations_controller_spec.rb b/spec/controllers/authorizations_controller_spec.rb
index 7f958366f2551455d1b096ab82750bbd27a1db5a..c0ca0b3a43a776accfef7ed6a8271ce81bf291bb 100644
--- a/spec/controllers/authorizations_controller_spec.rb
+++ b/spec/controllers/authorizations_controller_spec.rb
@@ -107,6 +107,10 @@ describe AuthorizationsController do
       @controller.should_receive(:valid_nonce?).with(@nonce)
       @controller.verify(Base64.encode64(@signable_string), @sig, 'public_key!')
     end
+
+    it 'checks for public key' do
+      @controller.verify(Base64.encode64(@signable_string), @sig, '').should == "blank public key"
+    end
   end
 
   describe '#verify_signature' do