Merge pull request #741 from alphagov/revert-template-actions

Revert questionable design decisions in send messages flow
This commit is contained in:
Chris Hill-Scott
2016-07-05 16:58:20 +01:00
committed by GitHub
7 changed files with 46 additions and 50 deletions

View File

@@ -694,7 +694,7 @@ def test_send_and_check_page_renders_if_no_statistics(
today = datetime.today().date().strftime('%Y-%m-%d')
assert resp.status_code == 200
page = BeautifulSoup(resp.data.decode('utf-8'), 'html.parser')
assert page.h1.text.strip() == 'Check and confirm'
assert page.h1.text.strip() == 'Preview'
mock_get_stats.assert_called_once_with(fake_uuid, today)