Remove unnecessary testcase for instance level stored_attributes.

This commit is contained in:
kennyj 2013-06-02 10:33:36 +09:00
parent 6c74825beb
commit 825a212ee2
1 changed files with 0 additions and 5 deletions

View File

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