public function testViewTotalRowsWithoutPager() {
for ($i = 0; $i < 23; $i++) {
$this
->drupalCreateNode();
}
$view = views_get_view('test_pager_none');
$view->get_total_rows = TRUE;
$this
->executeView($view);
$this
->assertEqual($view->total_rows, 23, "'total_rows' is calculated when pager type is 'none' and 'get_total_rows' is TRUE.");
}