Commit 853d64e2 authored by Kirby Ezekiel Santos's avatar Kirby Ezekiel Santos

Added a test for checking if the recipe update form page returns the correct html template

parent 1553b6cf
......@@ -35,3 +35,8 @@ class RecipesDetailPageTest(TestCase):
def test_recipes_detail_page_returns_correct_html(self):
response = self.client.get('/recipes-detail')
self.assertTemplateUsed(response, 'recipes_detail.html')
class RecipesUpdatePageTest(TestCase):
def test_recipes_update_page_returns_correct_html(self):
response = self.client.get('/recipes-update')
self.assertTemplateUsed(response, 'recipes_update.html')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment