Skip to content

Commit

Permalink
Update to reflect renamed column
Browse files Browse the repository at this point in the history
  • Loading branch information
timpeat committed Jan 13, 2025
1 parent 3d8f787 commit 6350981
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<%= result.reviewed_at ? l(result.reviewed_at) : no_data(:reviewed_at) %>
</td>
<td class="govuk-table__cell">
<%= result.caseworker_name || no_data(:closed_by) %>
<%= result.caseworker_name || no_data(:caseworker) %>
</td>
<td class="govuk-table__cell">
<%= t(result.review_status, scope: 'values.review_status') %>
Expand Down
4 changes: 3 additions & 1 deletion spec/system/casework/open_applications_dashboard_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
Date.parse('2022-10-27'), Time.current.in_time_zone('London')
)

expect(first_row_text).to eq("Kit Pound 120398120 Initial 27 Oct 2022 #{days_ago} days No data exists for Caseworker")
expect(first_row_text).to eq(
"Kit Pound 120398120 Initial 27 Oct 2022 #{days_ago} days No data exists for Caseworker"
)
end

it 'receives the application if not already received' do
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

expect(first_row_text).to eq(
'Kit Pound 120398120 Initial Summary only 27 Oct 2022 ' \
'No data exists for Date closed No data exists for Closed by Open'
'No data exists for Date closed No data exists for Caseworker Open'
)
end

Expand Down

0 comments on commit 6350981

Please sign in to comment.