diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb index f3e3355..65fc82c 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -464,4 +464,15 @@ class CmsControllerTest < Test::Unit::TestCase end end + should 'be able to create a new event document' do + get :new, :type => 'Event', :profile => profile.identifier + assert_response :success + #assert_template 'select_article_type' + + ## TODO add more types here !! + #[ TinyMceArticle, TextileArticle ].each do |item| + # assert_tag :tag => 'a', :attributes => { :href => "/myprofile/#{profile.identifier}/cms/new?type=#{item.name}" } + #end + end + end -- libgit2 0.21.2