X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Ft%2Fweb%2Frichtext-autohandler.t;h=734426fc36769490c2a36573907003d9cf064603;hp=56617b2fbdc1a3652e89e06ec69b49bf00aeabf2;hb=6587f6ba7d047ddc1686c080090afe7d53365bd4;hpb=47153aae5c2fc00316654e7277fccd45f72ff611 diff --git a/rt/t/web/richtext-autohandler.t b/rt/t/web/richtext-autohandler.t index 56617b2fb..734426fc3 100644 --- a/rt/t/web/richtext-autohandler.t +++ b/rt/t/web/richtext-autohandler.t @@ -1,13 +1,13 @@ use strict; -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/,);