diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-08 18:13:07 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-07-08 18:13:07 +0000 |
commit | 34df31455a896c5f244cb433721dbab4306b1fb9 (patch) | |
tree | 1920c22643a4b3794a51a9b31e3d4050f7d59d1d /actionpack/test | |
parent | 78ecfc77a164a6686f9ad5b819102aebd30359d8 (diff) | |
download | rails-34df31455a896c5f244cb433721dbab4306b1fb9.tar.gz rails-34df31455a896c5f244cb433721dbab4306b1fb9.tar.bz2 rails-34df31455a896c5f244cb433721dbab4306b1fb9.zip |
r2948@asus: jeremy | 2005-07-08 16:00:23 -0700
Use save instead of save! in ARStore test also.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1773 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/active_record_store_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/active_record_store_test.rb b/actionpack/test/controller/active_record_store_test.rb index b50d08447b..05dcd691e6 100644 --- a/actionpack/test/controller/active_record_store_test.rb +++ b/actionpack/test/controller/active_record_store_test.rb @@ -27,7 +27,7 @@ module CommonActiveRecordStoreTests def test_basics s = session_class.new(:session_id => '1234', :data => { 'foo' => 'bar' }) assert_equal 'bar', s.data['foo'] - assert s.save! + assert s.save assert_equal 'bar', s.data['foo'] assert_not_nil t = session_class.find_by_session_id('1234') |