summaryrefslogtreecommitdiffstats
path: root/test/functional/issues_custom_fields_visibility_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-08 11:50:36 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2015-11-08 11:50:36 +0000
commitcb0866f31307680aad80a96d0a9d9962ac193f03 (patch)
tree21243e698024a6f7fea2e1e3f1b063da57a1428f /test/functional/issues_custom_fields_visibility_test.rb
parent161558e9d0d6f11bfbaedf71e282263077dc8577 (diff)
downloadredmine-cb0866f31307680aad80a96d0a9d9962ac193f03.tar.gz
redmine-cb0866f31307680aad80a96d0a9d9962ac193f03.zip
Render issue attributes using divs instead of a table for responsiveness (#19097).
git-svn-id: http://svn.redmine.org/redmine/trunk@14848 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/issues_custom_fields_visibility_test.rb')
-rw-r--r--test/functional/issues_custom_fields_visibility_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_custom_fields_visibility_test.rb b/test/functional/issues_custom_fields_visibility_test.rb
index e23cd4fc2..58d03fd76 100644
--- a/test/functional/issues_custom_fields_visibility_test.rb
+++ b/test/functional/issues_custom_fields_visibility_test.rb
@@ -68,9 +68,9 @@ class IssuesCustomFieldsVisibilityTest < ActionController::TestCase
get :show, :id => @issue.id
@fields.each_with_index do |field, i|
if fields.include?(field)
- assert_select 'td', {:text => "Value#{i}", :count => 1}, "User #{user.id} was not able to view #{field.name}"
+ assert_select '.value', {:text => "Value#{i}", :count => 1}, "User #{user.id} was not able to view #{field.name}"
else
- assert_select 'td', {:text => "Value#{i}", :count => 0}, "User #{user.id} was able to view #{field.name}"
+ assert_select '.value', {:text => "Value#{i}", :count => 0}, "User #{user.id} was able to view #{field.name}"
end
end
end