Skip to content

Commit

Permalink
Merge pull request #7722 from ministryofjustice/ctskf-985-beta-tester
Browse files Browse the repository at this point in the history
[CTSKF-985] Add beta_tester role for case workers
  • Loading branch information
jrmhaig authored Nov 13, 2024
2 parents c6977b7 + 6eba8b0 commit 46d5d89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/case_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
class CaseWorker < ApplicationRecord
auto_strip_attributes squish: true, nullify: true

ROLES = %w[admin case_worker provider_management].freeze
ROLES = %w[admin case_worker provider_management beta_tester].freeze

include Roles
include SoftlyDeletable
Expand Down
2 changes: 1 addition & 1 deletion spec/models/case_worker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

describe 'ROLES' do
it 'has "admin", "case_worker" and "provider_management"' do
expect(described_class::ROLES).to match_array(%w[admin case_worker provider_management])
expect(described_class::ROLES).to match_array(%w[admin case_worker provider_management beta_tester])
end
end

Expand Down

0 comments on commit 46d5d89

Please sign in to comment.