diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 11:10:41 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-22 15:32:35 -0700 |
commit | df2d96a7f05aebca3e9d2367c2a248125b24dca6 (patch) | |
tree | 195a21f5ee507aa0f75e703584b43eacc297cd0e /actionpack/test/adv_attr_test.rb | |
parent | 8a336d01d2c403f0a2fb818edb8db836ddc367ef (diff) | |
download | rails-df2d96a7f05aebca3e9d2367c2a248125b24dca6.tar.gz rails-df2d96a7f05aebca3e9d2367c2a248125b24dca6.tar.bz2 rails-df2d96a7f05aebca3e9d2367c2a248125b24dca6.zip |
Move misplaced test
Diffstat (limited to 'actionpack/test/adv_attr_test.rb')
-rw-r--r-- | actionpack/test/adv_attr_test.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/actionpack/test/adv_attr_test.rb b/actionpack/test/adv_attr_test.rb deleted file mode 100644 index fdda4ad92d..0000000000 --- a/actionpack/test/adv_attr_test.rb +++ /dev/null @@ -1,20 +0,0 @@ -require File.dirname(__FILE__) + '/abstract_unit' -require 'action_mailer/adv_attr_accessor' - -class AdvAttrTest < Test::Unit::TestCase - class Person - include ActionMailer::AdvAttrAccessor - adv_attr_accessor :name - end - - def test_adv_attr - bob = Person.new - assert_nil bob.name - bob.name 'Bob' - assert_equal 'Bob', bob.name - - assert_raise(ArgumentError) {bob.name 'x', 'y'} - end - - -end
\ No newline at end of file |