/** @test */ public function check_list_view_for_newly_created_stepautocomplete_then_deleted() { $step = StepAutocomplete::create($this->stepAutocompleteData()); $stepCreated = StepAutocomplete::find($step->id); $this->visit(action('StepAutocompleteController@index'))->see($step->name); $this->call('GET', action('StepAutocompleteController@destroy', [$stepCreated]), []); $this->dontSee($step->name); }