Replace Current service with chosen service name.

This commit is contained in:
Rebecca Law
2016-01-28 17:20:34 +00:00
parent ec044fe5b8
commit 0dd20abbb3
6 changed files with 11 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
from flask import url_for
from flask import url_for, session
def test_should_show_recent_jobs_on_dashboard(app_,
@@ -14,4 +14,6 @@ def test_should_show_recent_jobs_on_dashboard(app_,
response = client.get(url_for('main.service_dashboard', service_id=123))
assert response.status_code == 200
assert 'You havent sent any text messages yet' in response.get_data(as_text=True)
text = response.get_data(as_text=True)
assert 'You havent sent any text messages yet' in text
assert 'Test Service' in text