[ Index ]

PHP Cross Reference of GlotPress

title

Body

[close]

/t/ -> test_requests.php (source)

   1  <?php
   2  require_once ('init.php');
   3  
   4  class GP_Test_Requests extends GP_UnitTestCase_Request {
   5      function test_index() {
   6          $this->get( '/' );
   7          $this->assertRedirect();
   8      }
   9      
  10      function test_projects() {
  11          $this->get( '/projects' );
  12          $this->assertResponseContains( 'Projects' );
  13          $this->assertResponseNotContains( 'baba' );
  14      }   
  15  }


Generated: Thu May 24 03:59:35 2012 Hosted by follow the white rabbit.