diff --git a/server/webapp/WEB-INF/rails.new/spec/controllers/admin/pipelines_controller_spec.rb b/server/webapp/WEB-INF/rails.new/spec/controllers/admin/pipelines_controller_spec.rb
index <HASH>..<HASH> 100644
--- a/server/webapp/WEB-INF/rails.new/spec/controllers/admin/pipelines_controller_spec.rb
+++ b/server/webapp/WEB-INF/rails.new/spec/controllers/admin/pipelines_controller_spec.rb
@@ -152,7 +152,7 @@ describe Admin::PipelinesController do
 
       it "should error out when user is unauthorized" do
         expect(@go_config_service).to receive(:loadForEdit).with('HelloWorld', anything(), anything()) do |_, _, result|
-          result.forbidden('Unauthorized to edit HelloWorld pipeline.', HealthStateType.unauthorised_for_pipeline("HelloWorld"))
+          result.forbidden('Unauthorized to edit HelloWorld pipeline.', HealthStateType.forbidden_for_pipeline("HelloWorld"))
           nil
         end
Chaning HealthStateType.unauthorised_for_pipeline to HealthStateType.forbidden_for_pipeline