From 7c3094626d1c9fe76da35a818bfe2983a24f5515 Mon Sep 17 00:00:00 2001 From: ganesh Date: Sat, 11 Jun 2011 21:49:12 +0530 Subject: [PATCH] removed duplicate code --- activemodel/test/cases/attribute_methods_test.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/activemodel/test/cases/attribute_methods_test.rb b/activemodel/test/cases/attribute_methods_test.rb index 022c6716bd..9840e3364c 100644 --- a/activemodel/test/cases/attribute_methods_test.rb +++ b/activemodel/test/cases/attribute_methods_test.rb @@ -78,7 +78,6 @@ class AttributeMethodsTest < ActiveModel::TestCase test '#define_attribute_method generates attribute method with invalid identifier characters' do ModelWithWeirdNamesAttributes.define_attribute_method(:'a?b') - ModelWithWeirdNamesAttributes.define_attribute_method(:'a?b') assert_respond_to ModelWithWeirdNamesAttributes.new, :'a?b' assert_equal "value of a?b", ModelWithWeirdNamesAttributes.new.send('a?b')