summaryrefslogtreecommitdiff
path: root/rt/t/web/richtext-autohandler.t
blob: 724a7b34cfb09fa735ac4089a8e8b7f72f6d094f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use strict;
use warnings;

use RT::Test tests => 9;
my ($baseurl, $agent) = RT::Test->started_ok;

$agent->get("$baseurl/NoAuth/RichText/ckeditor/config.js");
is($agent->status, 403);
$agent->content_lacks("config.disableNativeSpellChecker");

$agent->get_ok("/NoAuth/RichText/config.js");
$agent->content_contains("config.disableNativeSpellChecker");

$agent->warning_like(qr/Invalid request directly to the rich text editor/,);