Commit ee736cef authored by Kirby Ezekiel Santos's avatar Kirby Ezekiel Santos

Added a test for checking if the ingredients detail page returns the correct html template

parent 2df08a55
......@@ -10,3 +10,8 @@ class IngredientsListPageTest(TestCase):
def test_ingredients_list_page_returns_correct_html(self):
response = self.client.get('/ingredients-list')
self.assertTemplateUsed(response, 'ingredients_list.html')
class IngredientsDetailPageTest(TestCase):
def test_ingredients_detail_page_returns_correct_html(self):
response = self.client.get('/ingredients-detail')
self.assertTemplateUsed(response, 'ingredients_detail.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