diff --git a/spec/controllers/topics_controller_spec.rb b/spec/controllers/topics_controller_spec.rb index 74b02ba222f..fe3544488c0 100644 --- a/spec/controllers/topics_controller_spec.rb +++ b/spec/controllers/topics_controller_spec.rb @@ -1065,7 +1065,7 @@ describe TopicsController do }, format: format expect(response.code.to_i).to be(403) - expect(response.body).to eq(I18n.t("invalid_access")) + expect(response.body).to eq(I18n.t("invalid_api_credentials")) end end end