Commit f6b04c2e07dc4f8ad5af8516d5653118c51f9598
1 parent
7d2cfa05
Exists in
master
and in
29 other branches
ActionItem114: making last integration test pass
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@893 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
test/integration/manage_documents_test.rb
@@ -50,8 +50,9 @@ class ManageDocumentsTest < ActionController::IntegrationTest | @@ -50,8 +50,9 @@ class ManageDocumentsTest < ActionController::IntegrationTest | ||
50 | 50 | ||
51 | def test_removing_an_article | 51 | def test_removing_an_article |
52 | 52 | ||
53 | + login('ze', 'test') | ||
54 | + | ||
53 | article = Article.create!(:title => 'to be removed', :body => 'go to hell', :parent_id => Article.find_by_path('ze').id) | 55 | article = Article.create!(:title => 'to be removed', :body => 'go to hell', :parent_id => Article.find_by_path('ze').id) |
54 | - count = Article.count | ||
55 | 56 | ||
56 | get '/myprofile/ze/cms' | 57 | get '/myprofile/ze/cms' |
57 | assert_response :success | 58 | assert_response :success |