From 88d515a87a11950644c88ac3b307b1f9483342c7 Mon Sep 17 00:00:00 2001 From: Mark Scherer Date: Mon, 2 Feb 2015 11:56:55 +0100 Subject: [PATCH] docs --- docs/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/README.md b/docs/README.md index e9b3e20..854162e 100644 --- a/docs/README.md +++ b/docs/README.md @@ -43,6 +43,7 @@ class MyNameControllerTest extends ShimIntegrationTestCase { $this->get(['controller' => 'my_name', 'action' => 'index']); $this->assertResponseCode(200); $this->assertNoRedirect(); + $this->assertResponseNotEmpty(); $this->assertResponseContains('Some HTML snippet or text.'); } @@ -52,6 +53,7 @@ class MyNameControllerTest extends ShimIntegrationTestCase { ); $this->post(['controller' => 'my_name', 'action' => 'add'], $data); $this->assertResponseCode(302); + $this->assertResponseEmpty(); $this->assertRedirect(['controller' => 'my_name', 'action' => 'index']); $this->assertSession('Saved!'), 'Message.flash.message'); }