Commit 348116c3262b3bd278480574b198bf2c3cc77987
1 parent
76a23b5f
Exists in
master
and in
29 other branches
ActionItem147: eliminating uneeded test
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2440 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
0 additions
and
10 deletions
Show diff stats
test/functional/my_profile_controller_test.rb
... | ... | @@ -46,14 +46,4 @@ class MyProfileControllerTest < Test::Unit::TestCase |
46 | 46 | assert_response 403 # forbidden |
47 | 47 | end |
48 | 48 | |
49 | - def test_accept_comments | |
50 | - article=profile.articles.create!(:name=>'my article',:body =>'my text',:accept_comments=>true) | |
51 | - assert article.comments.create(:author=>profile,:title=>'A new comment', :body =>'Go go go!') | |
52 | - end | |
53 | - | |
54 | - def test_not_accept_comments | |
55 | - article=profile.articles.create!(:name=>'my article',:body =>'my text',:accept_comments=>true) | |
56 | - assert article.comments.create(:author=>profile,:title=>'A new comment', :body =>'Go go go!') | |
57 | - end | |
58 | - | |
59 | 49 | end | ... | ... |