Skip to content

Commit

Permalink
chore: fix CI failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mromulus committed Dec 5, 2023
1 parent 629a1c3 commit c87bd9c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions spec/lib/user_permissions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
context 'default list' do
let(:list) {
[
'Providentia_CF_GT',
'Providentia_CF_RT',
'Providentia_Admin'
"#{ENV['OIDC_RESOURCE_PREFIX']}CF_GT",
"#{ENV['OIDC_RESOURCE_PREFIX']}CF_RT",
"#{ENV['OIDC_RESOURCE_PREFIX']}Admin"
]
}

Expand All @@ -39,9 +39,9 @@
let(:exercise) { create(:exercise) }
let(:list) {
[
"Providentia_#{exercise.dev_red_resource_name}",
"Providentia_#{exercise.dev_resource_name}",
'Providentia_Admin'
"#{ENV['OIDC_RESOURCE_PREFIX']}#{exercise.dev_red_resource_name}",
"#{ENV['OIDC_RESOURCE_PREFIX']}#{exercise.dev_resource_name}",
"#{ENV['OIDC_RESOURCE_PREFIX']}Admin"
]
}

Expand All @@ -60,8 +60,8 @@
let!(:xs) { create(:exercise, abbreviation: 'xs') }
let(:list) {
[
'Providentia_LS_GT',
'Providentia_XS_RT'
"#{ENV['OIDC_RESOURCE_PREFIX']}LS_GT",
"#{ENV['OIDC_RESOURCE_PREFIX']}XS_RT"
]
}

Expand Down

0 comments on commit c87bd9c

Please sign in to comment.