mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #1654 from ganeshkumar/test_cases
removed duplicate code in tests
This commit is contained in:
commit
5599e3fa0c
1 changed files with 0 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue