public function it_can_edit_tags() { $this->actingAs($this->user)->visit(route('admin.tag.edit', 1))->type('Foo', 'title')->press('Save')->see('Success! Tag has been updated.')->see('Foo')->seeInDatabase('tags', ['title' => 'Foo']); }