X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=rt%2Ft%2Fweb%2Frichtext-autohandler.t;h=724a7b34cfb09fa735ac4089a8e8b7f72f6d094f;hb=3f0e44be5d3d30ca99f169da7ca5622033f704b4;hp=56617b2fbdc1a3652e89e06ec69b49bf00aeabf2;hpb=b5c4237a34aef94976bc343c8d9e138664fc3984;p=freeside.git diff --git a/rt/t/web/richtext-autohandler.t b/rt/t/web/richtext-autohandler.t index 56617b2fb..724a7b34c 100644 --- a/rt/t/web/richtext-autohandler.t +++ b/rt/t/web/richtext-autohandler.t @@ -1,13 +1,14 @@ use strict; +use warnings; -use RT::Test tests => 7; +use RT::Test tests => 9; my ($baseurl, $agent) = RT::Test->started_ok; -$agent->get("$baseurl/NoAuth/RichText/FCKeditor/license.txt"); +$agent->get("$baseurl/NoAuth/RichText/ckeditor/config.js"); is($agent->status, 403); -$agent->content_lacks("It is not the purpose of this section to induce"); +$agent->content_lacks("config.disableNativeSpellChecker"); -$agent->get_ok("/NoAuth/RichText/license.txt"); -$agent->content_contains("It is not the purpose of this section to induce"); +$agent->get_ok("/NoAuth/RichText/config.js"); +$agent->content_contains("config.disableNativeSpellChecker"); $agent->warning_like(qr/Invalid request directly to the rich text editor/,);