OSDN Git Service

Removed a duplicate test.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 5 Apr 2011 13:04:59 +0000 (13:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 5 Apr 2011 13:04:59 +0000 (13:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5329 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index d013b59..2630e96 100644 (file)
@@ -622,17 +622,6 @@ class IssuesControllerTest < ActionController::TestCase
         assert_equal IssueStatus.default, issue.status
       end
       
-      should "accept default status" do
-        assert_difference 'Issue.count' do
-          post :create, :project_id => 1, 
-                     :issue => {:tracker_id => 1,
-                                :subject => 'This is an issue',
-                                :status_id => 1}
-        end
-        issue = Issue.last(:order => 'id')
-        assert_equal IssueStatus.default, issue.status
-      end
-      
       should "ignore unauthorized status" do
         assert_difference 'Issue.count' do
           post :create, :project_id => 1,