From d14e126f49989737c198885a23a4b2193724a35f Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Fri, 30 Nov 2007 21:31:54 +0000 Subject: [PATCH] ActionItem21: testing composing of a new article --- test/functional/cms_controller_test.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/functional/cms_controller_test.rb b/test/functional/cms_controller_test.rb index c22e738..8907d0a 100644 --- a/test/functional/cms_controller_test.rb +++ b/test/functional/cms_controller_test.rb @@ -55,7 +55,9 @@ class CmsControllerTest < Test::Unit::TestCase end should 'be able to create a new document' do - flunk 'pending' + get :new, :profile => profile.identifier + assert_template 'text_html_new' + assert_tag :tag => 'form', :attributes => { :action => "/myprofile/#{profile.identifier}/cms/new", :method => /post/i } end should 'be able to save a save a document' do -- libgit2 0.21.2