diff options
author | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
---|---|---|
committer | ivan <ivan> | 2011-04-18 23:15:19 +0000 |
commit | 75162bb14b3e38d66617077843f4dfdcaf09d5c4 (patch) | |
tree | d89dd49a476cf2f0859ed6a0adc2992ea6d69d04 /rt/t/web/richtext-autohandler.t | |
parent | fc6209f398899f0211cfcedeb81a3cd65e04a941 (diff) |
import rt 3.8.10
Diffstat (limited to 'rt/t/web/richtext-autohandler.t')
-rw-r--r-- | rt/t/web/richtext-autohandler.t | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/rt/t/web/richtext-autohandler.t b/rt/t/web/richtext-autohandler.t new file mode 100644 index 000000000..56617b2fb --- /dev/null +++ b/rt/t/web/richtext-autohandler.t @@ -0,0 +1,13 @@ +use strict; + +use RT::Test tests => 7; +my ($baseurl, $agent) = RT::Test->started_ok; + +$agent->get("$baseurl/NoAuth/RichText/FCKeditor/license.txt"); +is($agent->status, 403); +$agent->content_lacks("It is not the purpose of this section to induce"); + +$agent->get_ok("/NoAuth/RichText/license.txt"); +$agent->content_contains("It is not the purpose of this section to induce"); + +$agent->warning_like(qr/Invalid request directly to the rich text editor/,); |