aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/activerecord/form_helper_activerecord_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionview/test/activerecord/form_helper_activerecord_test.rb')
-rw-r--r--actionview/test/activerecord/form_helper_activerecord_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/activerecord/form_helper_activerecord_test.rb b/actionview/test/activerecord/form_helper_activerecord_test.rb
index 2e302c65a7..0a9628da8d 100644
--- a/actionview/test/activerecord/form_helper_activerecord_test.rb
+++ b/actionview/test/activerecord/form_helper_activerecord_test.rb
@@ -59,7 +59,7 @@ class FormHelperActiveRecordTest < ActionView::TestCase
protected
def hidden_fields(method = nil)
- txt = %{<div style="margin:0;padding:0;display:inline">}
+ txt = %{<div style="display:none">}
txt << %{<input name="utf8" type="hidden" value="&#x2713;" />}
if method && !%w(get post).include?(method.to_s)
txt << %{<input name="_method" type="hidden" value="#{method}" />}