Permalink
Browse files

Warning removed unused variable

  • Loading branch information...
1 parent 1d89540 commit 9817a8b7d61c4c88592a940c824376bb84f59c1d @arunagw arunagw committed Nov 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 9817a8b

Please sign in to comment.