From 348116c3262b3bd278480574b198bf2c3cc77987 Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Tue, 2 Sep 2008 19:26:34 +0000 Subject: [PATCH] ActionItem147: eliminating uneeded test --- test/functional/my_profile_controller_test.rb | 10 ---------- 1 file changed, 0 insertions(+), 10 deletions(-) diff --git a/test/functional/my_profile_controller_test.rb b/test/functional/my_profile_controller_test.rb index 6d0c6ba..74ca402 100644 --- a/test/functional/my_profile_controller_test.rb +++ b/test/functional/my_profile_controller_test.rb @@ -46,14 +46,4 @@ class MyProfileControllerTest < Test::Unit::TestCase assert_response 403 # forbidden end - def test_accept_comments - article=profile.articles.create!(:name=>'my article',:body =>'my text',:accept_comments=>true) - assert article.comments.create(:author=>profile,:title=>'A new comment', :body =>'Go go go!') - end - - def test_not_accept_comments - article=profile.articles.create!(:name=>'my article',:body =>'my text',:accept_comments=>true) - assert article.comments.create(:author=>profile,:title=>'A new comment', :body =>'Go go go!') - end - end -- libgit2 0.21.2