public function AdminMetaTagTestCase::testMetaTag

Verify that the meta tag HTML is generated correctly.

File

drupal/modules/system/system.test, line 1022
Tests for system.module.

Class

AdminMetaTagTestCase

Code

public function testMetaTag() {
  list($version, ) = explode('.', VERSION);
  $string = '<meta name="Generator" content="Drupal ' . $version . ' (http://drupal.org)" />';
  $this
    ->drupalGet('node');
  $this
    ->assertRaw($string, 'Fingerprinting meta tag generated correctly.', 'System');
}