Commit d14e126f49989737c198885a23a4b2193724a35f

Authored by AntonioTerceiro
1 parent f6328c60

ActionItem21: testing composing of a new article



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@987 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
test/functional/cms_controller_test.rb
... ... @@ -55,7 +55,9 @@ class CmsControllerTest < Test::Unit::TestCase
55 55 end
56 56  
57 57 should 'be able to create a new document' do
58   - flunk 'pending'
  58 + get :new, :profile => profile.identifier
  59 + assert_template 'text_html_new'
  60 + assert_tag :tag => 'form', :attributes => { :action => "/myprofile/#{profile.identifier}/cms/new", :method => /post/i }
59 61 end
60 62  
61 63 should 'be able to save a save a document' do
... ...