diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-11-26 19:03:58 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-11-26 19:30:11 +0530 |
commit | 9817a8b7d61c4c88592a940c824376bb84f59c1d (patch) | |
tree | 5fe9f353f2ba6f08e5f2371e2a494c6fdeed6db6 /activemodel/test | |
parent | 1d8954068655580548e8e1cb283a8499988afb1d (diff) | |
download | rails-9817a8b7d61c4c88592a940c824376bb84f59c1d.tar.gz rails-9817a8b7d61c4c88592a940c824376bb84f59c1d.tar.bz2 rails-9817a8b7d61c4c88592a940c824376bb84f59c1d.zip |
Warning removed unused variable
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/naming_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/naming_test.rb b/activemodel/test/cases/naming_test.rb index 6f9004da7f..e8db73ba52 100644 --- a/activemodel/test/cases/naming_test.rb +++ b/activemodel/test/cases/naming_test.rb @@ -251,7 +251,7 @@ end class NameWithAnonymousClassTest < Test::Unit::TestCase def test_anonymous_class_without_name_argument assert_raises(ArgumentError) do - model_name = ActiveModel::Name.new(Class.new) + ActiveModel::Name.new(Class.new) end end |