Skip to content

Commit 28b3d70

Browse files
Test: update transition status label specs to disable RSpec/ExampleLength cop
Signed-off-by: Audrea Cook <[email protected]>
1 parent d4243b4 commit 28b3d70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/system/case_court_reports/index_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
expect(page).to have_selector "#case-selection option", count: expected_number_of_options
9696
end
9797

98-
it "shows correct transition status labels", :aggregate_failures do
98+
it "shows correct transition status labels", :aggregate_failures do # rubocop:disable RSpec/ExampleLength
9999
younger_than_transition_age = volunteer.casa_cases.reject(&:in_transition_age?).first
100100
at_least_transition_age = volunteer.casa_cases.detect(&:in_transition_age?)
101101

@@ -119,7 +119,7 @@
119119
expect(page).to have_selector "#case-selection option:first-of-type", text: "Select case number"
120120
end
121121

122-
it "shows an error when generating without a selection", :aggregate_failures do
122+
it "shows an error when generating without a selection", :aggregate_failures do # rubocop:disable RSpec/ExampleLength
123123
# Ensure default is selected
124124
page.select "Select case number", from: "case-selection"
125125
click_button "Generate Report"
@@ -165,7 +165,7 @@
165165
let(:casa_case) { volunteer.casa_cases.first }
166166
let(:search_term) { casa_case.case_number[-3..] }
167167

168-
it "selects the correct case", :aggregate_failures, :js do
168+
it "selects the correct case", :aggregate_failures, :js do # rubocop:disable RSpec/ExampleLength
169169
open_court_report_modal
170170
open_case_select2_dropdown
171171
send_keys(search_term)

0 commit comments

Comments
 (0)