From cb0866f31307680aad80a96d0a9d9962ac193f03 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 8 Nov 2015 11:50:36 +0000 Subject: 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 --- test/integration/issues_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test/integration') diff --git a/test/integration/issues_test.rb b/test/integration/issues_test.rb index e8387535e..0df8c8ac6 100644 --- a/test/integration/issues_test.rb +++ b/test/integration/issues_test.rb @@ -171,7 +171,10 @@ class IssuesTest < Redmine::IntegrationTest # Issue view follow_redirect! - assert_select 'th:contains("Tester:") + td', :text => tester.name + assert_select ".cf_#{@field.id}" do + assert_select '.label', :text => 'Tester:' + assert_select '.value', :text => tester.name + end assert_select 'select[name=?]', "issue[custom_field_values][#{@field.id}]" do assert_select 'option', users.size + 1 # +1 for blank value assert_select 'option[value=?][selected=selected]', tester.id.to_s, :text => tester.name -- cgit v1.2.3