Fixed test to match fixed controller.

This commit is contained in:
James Cole
2015-05-02 21:22:27 +02:00
parent 195a2d7523
commit fea44834d0

View File

@@ -57,7 +57,7 @@ class CategoryControllerTest extends TestCase
$this->call('GET', '/categories/delete/' . $category->id); $this->call('GET', '/categories/delete/' . $category->id);
$this->assertResponseOk(); $this->assertResponseOk();
$this->assertViewHas('subTitle', 'Delete category' . e($category->name) . '"'); $this->assertViewHas('subTitle', 'Delete category "' . e($category->name) . '"');
} }
public function testDestroy() public function testDestroy()