def test_multiple_meetup_pizza_places_are_displayed_on_landing_page(self):
     self.meetup.pizza_places.create(
         name='PizzOOO',
         yelp_url='https://www.yelp.com/biz/lombardis-pizza-new-york')
     response = index(self.request)
     self.assertContains(response, 'Prince')
     self.assertContains(response, 'PizzOOO')
 def test_next_meetup_title_displayed(self):
   response = index(self.request)
   self.assertContains(response, "Code Coffee")
 def test_next_meetup_time_displayed(self):
   response = index(self.request)
   self.assertContains(response, "03/23/2016, 07:00:00 AM EDT")
 def test_next_meetup_location_displayed(self):
   response = index(self.request)
   self.assertContains(response, "The Lexington")
 def test_meetups_pizza_places_ratings_are_displayed_on_landing_page(self):
   response = index(self.request)
   self.assertContains(response, '🍕🍕🍕🍕')
 def test_multiple_meetup_pizza_places_are_displayed_on_landing_page(self):
   self.meetup.pizza_places.create(name='PizzOOO', yelp_url='https://www.yelp.com/biz/lombardis-pizza-new-york')
   response = index(self.request)
   self.assertContains(response, 'Prince')
   self.assertContains(response, 'PizzOOO')
 def test_meetup_is_displayed_on_landing_page(self):
   response = index(self.request)
   self.assertContains(response, "The Lexington")
 def test_meetup_is_displayed_on_landing_page(self):
     response = index(self.request)
     self.assertContains(response, "The Lexington")
 def test_landing_page_contains_map_url(self):
     response = index(self.request)
     self.assertContains(
         response,
         "https://www.google.com/maps?q=40.75501251220703,-73.97337341308594"
     )
 def test_landing_page_contains_yelp_url(self):
     response = index(self.request)
     self.assertContains(
         response, "https://www.yelp.com/biz/prince-st-pizza-new-york")
 def test_next_meetup_title_displayed(self):
     response = index(self.request)
     self.assertContains(response, "Code Coffee")
 def test_next_meetup_time_displayed(self):
     response = index(self.request)
     self.assertContains(response, "03/23/2016, 07:00:00 AM EDT")
 def test_next_meetup_location_displayed(self):
     response = index(self.request)
     self.assertContains(response, "The Lexington")
 def test_meetups_pizza_places_ratings_are_displayed_on_landing_page(self):
     response = index(self.request)
     self.assertContains(response, '🍕🍕🍕🍕')
 def test_landing_page_contains_yelp_url(self):
   response = index(self.request)
   self.assertContains(response, "https://www.yelp.com/biz/prince-st-pizza-new-york")
 def test_landing_page_contains_pizza(self):
   response = index(self.request)
   self.assertContains(response, "pizza")
 def test_landing_page_contains_map_url(self):
   response = index(self.request)
   self.assertContains(response, "https://www.google.com/maps?q=40.75501251220703,-73.97337341308594")
 def test_landing_page_contains_pizza(self):
     response = index(self.request)
     self.assertContains(response, "pizza")