aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test
diff options
context:
space:
mode:
authorganesh <ganesh@ganesh-laptop.(none)>2011-06-11 21:49:12 +0530
committerganesh <ganesh@ganesh-laptop.(none)>2011-06-11 21:49:12 +0530
commit7c3094626d1c9fe76da35a818bfe2983a24f5515 (patch)
tree0a9feca750773205abe31f14f92b3206150e53d9 /activemodel/test
parentf5e1548c1bd5645b9a6bf66c8f5fedf801f23218 (diff)
downloadrails-7c3094626d1c9fe76da35a818bfe2983a24f5515.tar.gz
rails-7c3094626d1c9fe76da35a818bfe2983a24f5515.tar.bz2
rails-7c3094626d1c9fe76da35a818bfe2983a24f5515.zip
removed duplicate code
Diffstat (limited to 'activemodel/test')
-rw-r--r--activemodel/test/cases/attribute_methods_test.rb1
1 files changed, 0 insertions, 1 deletions
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')