##// END OF EJS Templates
Removed a duplicate test....
Jean-Philippe Lang -
r5209:c9a3700cfc28
parent child
Show More
@@ -622,17 +622,6 class IssuesControllerTest < ActionController::TestCase
622 622 assert_equal IssueStatus.default, issue.status
623 623 end
624 624
625 should "accept default status" do
626 assert_difference 'Issue.count' do
627 post :create, :project_id => 1,
628 :issue => {:tracker_id => 1,
629 :subject => 'This is an issue',
630 :status_id => 1}
631 end
632 issue = Issue.last(:order => 'id')
633 assert_equal IssueStatus.default, issue.status
634 end
635
636 625 should "ignore unauthorized status" do
637 626 assert_difference 'Issue.count' do
638 627 post :create, :project_id => 1,
General Comments 0
You need to be logged in to leave comments. Login now