Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Warning removed unused variable

  • Loading branch information...
commit 9817a8b7d61c4c88592a940c824376bb84f59c1d 1 parent 1d89540
Arun Agrawal arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activemodel/test/cases/naming_test.rb
2  activemodel/test/cases/naming_test.rb
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.