You are here

public function FollowTestCase::_testCssCallback in Follow 7.2

1 call to FollowTestCase::_testCssCallback()
FollowTestCase::testFollow in tests/follow.test
Create one test function here to run all tests from, for speed.

File

tests/follow.test, line 81
Follow module tests.

Class

FollowTestCase
@file Follow module tests.

Code

public function _testCssCallback() {

  // First, delete the CSS path.
  file_unmanaged_delete('public://css/follow.css');

  // Then do a GET on the path to see if the file is actually a CSS file.
  $this
    ->drupalGet(_follow_css_get_path());
  $this
    ->assertRaw(' * This CSS file is generated by Follow module. DO NOT edit it directly.', t('The Follow CSS menu callback displays the generated CSS.'));
}