<?php
/**
 * @file
 */

class AdvPollSingleChoice extends AdvPollTestBase {

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return array(
      'name' => 'Advanced Poll Single Choice',
      'description' => 'Test the operation of a single choice poll.',
      'group' => 'Advanced Poll',
    );
  }

  public function testSingleChoicePoll() {
    $node = $this->createPoll();

    $this->drupalGet('node/' . $node->nid);
    $this->assertText($node->title);
  }
}
