You are here

public function FormOptionsAttributesSelectTestCase::testSelect in Form Options Attributes 7

File

tests/form_options_attributes.test, line 21
Tests for Form Options Attributes module

Class

FormOptionsAttributesSelectTestCase
@file Tests for Form Options Attributes module

Code

public function testSelect() {

  // Test a standard select element
  $this
    ->drupalGet('form-options-attributes-test');
  $this
    ->assertRaw('<option value="AL"  class="southeast" data-bbq-meat="pork">Alabama</option>', t('Standard select element: class and data attributes found.'));
}