diff --git a/spec/controllers/api/systems_controller_spec.rb b/spec/controllers/api/systems_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/spec/controllers/api/systems_controller_spec.rb
+++ b/spec/controllers/api/systems_controller_spec.rb
@@ -134,7 +134,7 @@ describe Api::SystemsController do
 
         it "uses user credentials of the hidden user" do
           User.should_receive("current=").at_least(:once)
-          User.should_receive("current=").with(User.hidden).once
+          User.should_receive("current=").with(User.hidden.first).once
           post :activate, :organization_id => @organization.cp_key, :activation_keys => "#{@activation_key_1.name},#{@activation_key_2.name}"
         end
<I> - update spec test when activating system with activation key to check for hidden user