1 require File
.dirname(__FILE__
) + '/abstract_unit'
2 require 'action_mailer/adv_attr_accessor'
4 class AdvAttrTest
< Test
::Unit::TestCase
6 include ActionMailer
::AdvAttrAccessor
7 adv_attr_accessor
:name
14 assert_equal
'Bob', bob
.name
16 assert_raise(ArgumentError
) {bob
.name
'x', 'y'}