aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2011-06-13 05:45:47 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2011-06-13 05:45:47 -0700
commit5599e3fa0c87005317dbea3ffc3f7e77bbcf229e (patch)
tree68dc1dc0de94bf08bc127274a196b857073e027c /activemodel/test/cases
parent5d655aabcb47a68e7ce1dfb60222e951a6d30169 (diff)
parent7c3094626d1c9fe76da35a818bfe2983a24f5515 (diff)
downloadrails-5599e3fa0c87005317dbea3ffc3f7e77bbcf229e.tar.gz
rails-5599e3fa0c87005317dbea3ffc3f7e77bbcf229e.tar.bz2
rails-5599e3fa0c87005317dbea3ffc3f7e77bbcf229e.zip
Merge pull request #1654 from ganeshkumar/test_cases
removed duplicate code in tests
Diffstat (limited to 'activemodel/test/cases')
-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')