Commit 400d9b41 authored by Patrick James Ong's avatar Patrick James Ong

Fixed url in orders

parent 745a74e5
......@@ -67,15 +67,15 @@ class NewVisitorTest(unittest.TestCase):
self.assertEqual('ul', ingredients_list.tag_name)
def test_can_display_orders_detail(self):
self.browser.get('http://localhost:8000/ingredients/detail')
self.browser.get('http://localhost:8000/orders/detail')
self.assertIn('Ingredients - Detail', self.browser.title)
def test_can_update_order(self):
self.browser.get('http://localhost:8000/ingredients/update')
self.browser.get('http://localhost:8000/orders/update')
self.assertIn('Ingredients - Update', self.browser.title)
def test_can_create_new_order(self):
self.browser.get('http://localhost:8000/ingredients/new')
self.browser.get('http://localhost:8000/orders/new')
self.assertIn('Ingredients - Create', self.browser.title)
self.assertIn('', self.browser.find_element_by_ID('new_customer_name').text)
......
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