From ecdde3ac57b5b135aec0d80d11d62cbc5023bd68 Mon Sep 17 00:00:00 2001 From: Jason C Date: Wed, 10 Apr 2024 16:32:02 -0700 Subject: [PATCH] Mobile: Fix flaky test (#16290) * Fix flaky test * Rubocop --------- Co-authored-by: Tonksthebear --- modules/mobile/spec/request/authorized_services_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/mobile/spec/request/authorized_services_spec.rb b/modules/mobile/spec/request/authorized_services_spec.rb index a0f53e695ce..a68fa185cf1 100644 --- a/modules/mobile/spec/request/authorized_services_spec.rb +++ b/modules/mobile/spec/request/authorized_services_spec.rb @@ -7,6 +7,8 @@ let!(:user) { sis_user } let(:attributes) { response.parsed_body.dig('data', 'attributes') } + before { Flipper.enable('va_online_scheduling') } + describe 'GET /mobile/v0/user/authorized-services' do it 'includes a hash with all available services and a boolean value of if the user has access' do get '/mobile/v0/user/authorized-services', headers: sis_headers,