summaryrefslogtreecommitdiffstats
path: root/test/functional
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-08 14:09:51 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-08 14:09:51 +0000
commit73b81ddef0c95442784defad989c8d71e773910f (patch)
tree4a85f90417be7ab05d6493ee236d157c241ea973 /test/functional
parentae58969f643aff1fad33000940c79386eb45f596 (diff)
downloadredmine-73b81ddef0c95442784defad989c8d71e773910f.tar.gz
redmine-73b81ddef0c95442784defad989c8d71e773910f.zip
code layout clean up test/functional/issue_statuses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18627 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/issue_statuses_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issue_statuses_controller_test.rb b/test/functional/issue_statuses_controller_test.rb
index a67ae87d7..19e6926a0 100644
--- a/test/functional/issue_statuses_controller_test.rb
+++ b/test/functional/issue_statuses_controller_test.rb
@@ -48,14 +48,14 @@ class IssueStatusesControllerTest < Redmine::ControllerTest
def test_index_should_show_warning_when_no_workflow_is_defined
status = IssueStatus.new :name => "No workflow"
status.save!
-
get :index
assert_response :success
assert_select 'table.issue_statuses tbody' do
assert_select 'tr:not(:last-of-type) span.icon-warning', :count => 0
assert_select 'tr:last-of-type' do
assert_select 'td.name', :text => status.name
- assert_select 'td:nth-of-type(3) span.icon-warning', :text => /#{I18n.t(:text_status_no_workflow)}/
+ assert_select 'td:nth-of-type(3) span.icon-warning',
+ :text => /#{I18n.t(:text_status_no_workflow)}/
end
end
end