File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ def test_inspect_with_overridden_attribute_for_inspect
83
83
84
84
topic . instance_eval do
85
85
def attribute_for_inspect ( attr_name )
86
- if attr_name == ' title'
86
+ if attr_name == " title"
87
87
title . upcase . inspect
88
88
else
89
89
super
@@ -186,7 +186,7 @@ def test_pretty_print_with_overridden_attribute_for_inspect
186
186
187
187
topic . instance_eval do
188
188
def attribute_for_inspect ( attr_name )
189
- if attr_name == ' title'
189
+ if attr_name == " title"
190
190
title . upcase . inspect
191
191
else
192
192
super
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ class FilterAttributesTest < ActiveRecord::TestCase
121
121
actual = "" . dup
122
122
PP . pp ( user , StringIO . new ( actual ) )
123
123
124
- assert_includes actual , ' name: [FILTERED]'
124
+ assert_includes actual , " name: [FILTERED]"
125
125
assert_equal 1 , actual . scan ( "[FILTERED]" ) . length
126
126
end
127
127
@@ -141,8 +141,8 @@ class FilterAttributesTest < ActiveRecord::TestCase
141
141
actual = "" . dup
142
142
PP . pp ( user , StringIO . new ( actual ) )
143
143
144
- assert_includes actual , ' auth_token: [FILTERED]'
145
- assert_includes actual , ' token: [FILTERED]'
144
+ assert_includes actual , " auth_token: [FILTERED]"
145
+ assert_includes actual , " token: [FILTERED]"
146
146
ensure
147
147
User . instance_variable_set ( :@filter_attributes , nil )
148
148
end
You can’t perform that action at this time.
0 commit comments