mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix typo
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user