We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cfc41e9 + 4b30617 commit ef35bccCopy full SHA for ef35bcc
test/cases/coerced_tests.rb
@@ -155,7 +155,7 @@ def test_update_date_time_attributes
155
Time.use_zone("Eastern Time (US & Canada)") do
156
topic = Topic.find(1)
157
time = Time.zone.parse("2017-07-17 10:56")
158
- topic.update_attributes!(written_on: time)
+ topic.update!(written_on: time)
159
assert_equal(time, topic.written_on)
160
end
161
@@ -166,7 +166,7 @@ def test_update_date_time_attributes_with_default_timezone_local
166
167
168
169
170
171
172
0 commit comments