Use the same pattern as elsewhere for ‘new thing’

On the team and templates pages we have a pattern for adding a new
‘thing’, which is a green button in the top right.

This commit changes the API key page to follow the same pattern.
This commit is contained in:
Chris Hill-Scott
2016-04-25 09:50:17 +01:00
parent e049e691fd
commit 71035ab96e
3 changed files with 11 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ def test_should_show_empty_api_keys_page(app_,
assert response.status_code == 200
assert 'You havent created any API keys yet' in response.get_data(as_text=True)
assert 'Create a new API key' in response.get_data(as_text=True)
assert 'Create new API key' in response.get_data(as_text=True)
mock_get_no_api_keys.assert_called_once_with(service_id=service_id)