Commit f7d6ffda826d40f9064a26cf83819c7e95c9d8b6
1 parent
52caae45
Exists in
master
and in
28 other branches
ActionItem928: adapting test
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
test/functional/cms_controller_test.rb
@@ -942,6 +942,10 @@ class CmsControllerTest < Test::Unit::TestCase | @@ -942,6 +942,10 @@ class CmsControllerTest < Test::Unit::TestCase | ||
942 | end | 942 | end |
943 | 943 | ||
944 | should 'display iframe for media listing when it is TinyMceArticle' do | 944 | should 'display iframe for media listing when it is TinyMceArticle' do |
945 | + env = Environment.default | ||
946 | + env.enable('media_panel') | ||
947 | + env.save! | ||
948 | + | ||
945 | image_folder = Folder.create(:profile => profile, :name => 'Image folder') | 949 | image_folder = Folder.create(:profile => profile, :name => 'Image folder') |
946 | non_image_folder = Folder.create(:profile => profile, :name => 'Non image folder') | 950 | non_image_folder = Folder.create(:profile => profile, :name => 'Non image folder') |
947 | 951 |