This commit is contained in:
Jon Leighton
2011-11-30 21:49:24 +00:00
parent 035b4244ba
commit 4f20eb5908

View File

@@ -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?