mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-12 17:34:16 -04:00
Merge pull request #3242 from alphagov/fix-incorrect-assertion
Fix incorrect assertion for letter job CSV link
This commit is contained in:
@@ -329,7 +329,11 @@ def test_should_show_letter_job(
|
||||
assert normalize_spaces(page.select('.keyline-block')[1].text) == (
|
||||
'6 January Estimated delivery date'
|
||||
)
|
||||
assert page.select('[download=download]') == []
|
||||
assert page.select_one('a[download]')['href'] == url_for(
|
||||
'main.view_job_csv',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
job_id=fake_uuid,
|
||||
)
|
||||
assert page.select('.hint') == []
|
||||
|
||||
get_notifications.assert_called_with(
|
||||
|
||||
Reference in New Issue
Block a user