Commit ba859e54 authored by Patrick James Ong's avatar Patrick James Ong

Changed function names to match hero names

parent 563888b8
Pipeline #832 failed with stages
......@@ -12,20 +12,20 @@ class HomePageTest(TestCase):
class CloudPageTest(TestCase):
def test_uses_hero_template(self):
def test_uses_cloud_template(self):
response = self.client.get('/hero/cloud/')
self.assertTemplateUsed(response, 'detail_cloud.html')
class JesterPageTest(TestCase):
def test_uses_hero_template(self):
def test_uses_jester_template(self):
response = self.client.get('/hero/jester/')
self.assertTemplateUsed(response, 'detailed_jester.html')
class SunfloweyPageTest(TestCase):
def test_uses_hero_template(self):
def test_uses_sunflowey_template(self):
response = self.client.get('/hero/sunflowey/')
self.assertTemplateUsed(response, 'detailed_sunflowey.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