get('/places'); $response->assertStatus(200); } /** * Test a specific place. * * @return void */ public function test_single_place() { $place = \App\Place::where('slug', 'the-bridgewater-pub')->first(); $response = $this->get('/places/the-bridgewater-pub'); $response->assertViewHas('place', $place); } }