You are here

function JammerSettingsTest::testSettingsExists in Jammer 5

File

tests/jammer_settings.test, line 12

Class

JammerSettingsTest

Code

function testSettingsExists() {
  $user = $this
    ->drupalCreateUserRolePerm(array(
    'administer site configuration',
  ));
  $this
    ->drupalLoginUser($user);
  $this
    ->drupalModuleEnable('jammer');
  $url = url('admin/settings/jammer', NULL, NULL, TRUE);
  $this
    ->get($url);
  $this
    ->assertText('Jammer');
}