Skip to content

Commit d4bd23c

Browse files
committed
Update test description to reflect page-based assertions
The test no longer verifies ActiveStorage attachment directly, so rename from "generates and attaches" to "generates a report and opens the download link" to match what is actually asserted.
1 parent c0a08d1 commit d4bd23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/system/case_court_reports/index_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149

150150
# NOTE: select by option VALUE (stable), stub `window.open` to capture the download URL,
151151
# wait for the button to re-enable (page-level signal), and assert UI state + opened URL.
152-
it "generates and attaches a report on success", :aggregate_failures, :js do # rubocop:disable RSpec/ExampleLength
152+
it "generates a report and opens the download link on success", :aggregate_failures, :js do # rubocop:disable RSpec/ExampleLength
153153
transition_case = casa_cases.detect(&:in_transition_age?)
154154

155155
# Stub window.open so we can capture the download URL in the browser

0 commit comments

Comments
 (0)