Permalink
Browse files

Merge pull request #3760 from arunagw/warning_removed_unused_var

Warning removed unused variable
  • Loading branch information...
2 parents 1d89540 + 9817a8b commit f7545216750693b90d59d7c39ea5789835dae9d2 @josevalim josevalim committed Nov 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/test/cases/naming_test.rb
View
2 activemodel/test/cases/naming_test.rb
@@ -251,7 +251,7 @@ def method_missing(method, *args)
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

0 comments on commit f754521

Please sign in to comment.