summaryrefslogtreecommitdiffstats
path: root/test/unit/lib/redmine/views/labelled_form_builder_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/lib/redmine/views/labelled_form_builder_test.rb')
-rw-r--r--test/unit/lib/redmine/views/labelled_form_builder_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/views/labelled_form_builder_test.rb b/test/unit/lib/redmine/views/labelled_form_builder_test.rb
index ee8529853..11c3409a2 100644
--- a/test/unit/lib/redmine/views/labelled_form_builder_test.rb
+++ b/test/unit/lib/redmine/views/labelled_form_builder_test.rb
@@ -33,7 +33,9 @@ class Redmine::Views::LabelledFormBuilderTest < Redmine::HelperTest
entry.validate
labelled_form_for(entry) do |f|
- assert_include 'value="2:30"', f.hours_field(:hours)
+ field_html = f.hours_field(:hours)
+ assert_include 'value="2:30"', field_html
+ assert_include 'placeholder="h:mm"', field_html
end
end