Skip to content

Commit

Permalink
Add beta_tester role for case workers
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmhaig committed Nov 12, 2024
1 parent 0023453 commit 6eba8b0
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 6eba8b0

Please sign in to comment.