diff options
author | kennyj <kennyj@gmail.com> | 2013-06-02 10:33:36 +0900 |
---|---|---|
committer | kennyj <kennyj@gmail.com> | 2013-06-02 10:33:36 +0900 |
commit | 825a212ee2ac17bbece2272b159d5b289460b838 (patch) | |
tree | 97df04a822fba5c5cae21ef2654262fc45dd40f7 | |
parent | 6c74825beb548d897ba5c3ec32e65d6036a19cc9 (diff) | |
download | rails-825a212ee2ac17bbece2272b159d5b289460b838.tar.gz rails-825a212ee2ac17bbece2272b159d5b289460b838.tar.bz2 rails-825a212ee2ac17bbece2272b159d5b289460b838.zip |
Remove unnecessary testcase for instance level stored_attributes.
-rw-r--r-- | activerecord/test/cases/store_test.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/activerecord/test/cases/store_test.rb b/activerecord/test/cases/store_test.rb index 3e32d866ee..c2c56abacd 100644 --- a/activerecord/test/cases/store_test.rb +++ b/activerecord/test/cases/store_test.rb @@ -150,9 +150,4 @@ class StoreTest < ActiveRecord::TestCase test "all stored attributes are returned" do assert_equal [:color, :homepage, :favorite_food], Admin::User.stored_attributes[:settings] end - - test "stores_attributes are class level settings" do - assert_raise(NoMethodError) { @john.stored_attributes = Hash.new } - assert_raise(NoMethodError) { @john.stored_attributes } - end end |