Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Scherer committed Feb 2, 2015
1 parent 138cf1a commit 88d515a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.');
}

Expand All @@ -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');
}
Expand Down

0 comments on commit 88d515a

Please sign in to comment.