提交 4f20eb59 编写于 作者: J Jon Leighton

Fix typo

上级 035b4244
......@@ -24,9 +24,9 @@ class StoreTest < ActiveRecord::TestCase
@john.settings[:icecream] = 'graeters'
@john.save
assert 'graeters', @john.reload.settings[:icecream]
assert_equal 'graeters', @john.reload.settings[:icecream]
end
test "updating the store will mark it as changed" do
@john.color = 'red'
assert @john.settings_changed?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册