Skip to content

Commit

Permalink
Test amendments
Browse files Browse the repository at this point in the history
  • Loading branch information
njpreddy committed Oct 29, 2024
1 parent b0aca4e commit 9597064
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/decorators/case/sar/offender_decorator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,17 +121,17 @@

describe "#request_methods_sorted" do
it "returns an ordered request methods list of options" do
expect(offender_sar_case.request_methods_sorted).to eq %w[email post unknown web_portal]
expect(offender_sar_case.request_methods_sorted).to eq %w[email ico_web_portal post unknown verbal_request web_portal]
end
end

describe "#request_method_for_display" do
it 'does not return the "unknown" request method' do
expect(offender_sar_case.request_methods_for_display).to match_array %w[email post web_portal]
expect(offender_sar_case.request_methods_for_display).to match_array %w[email ico_web_portal post verbal_request web_portal]
end

it "returns an ordered request methods list of options for display" do
expect(offender_sar_case.request_methods_for_display).to eq %w[email post web_portal]
expect(offender_sar_case.request_methods_for_display).to eq %w[email ico_web_portal post verbal_request web_portal]
end
end

Expand Down

0 comments on commit 9597064

Please sign in to comment.