Permalink
Browse files

Merge pull request #1654 from ganeshkumar/test_cases

removed duplicate code in tests
  • Loading branch information...
2 parents 5d655aa + 7c30946 commit 5599e3fa0c87005317dbea3ffc3f7e77bbcf229e @spastorino spastorino committed Jun 13, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 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')

0 comments on commit 5599e3f

Please sign in to comment.