function JammerPreviewButtonTest::testSettingsExists in Jammer 6
File
- ./
jammer.test, line 39 - Jammer simpletest test suite.
Class
- JammerPreviewButtonTest
- @file
Code
function testSettingsExists() {
$user = $this
->drupalCreateUser(array(
'administer site configuration',
));
$this
->drupalLogin($user);
$url = url('admin/settings/jammer', array(
'absolute' => TRUE,
));
$this
->drupalGet($url);
$this
->assertNoText(t('Access denied'));
$this
->assertText(t('Jammer'));
}