Hello people,
I am testing the emailers. I am following this tutorial:-
http://izumi.plan99.net/manuals/testing_rails_applications-c17d65ba.html
But i have got a problem. I have written the test case as like:-
def test_check_abc
@expected = 'MyMailer#signup'
@expected.body = read_fixture('signup')
@expected.date = Time.now
assert_equal @expected.encoded,
Emailer.create_invite('[email protected]', '[email protected]',
@expected.date).encoded
end
Now i am getting problem as
"NoMethodError: undefined method `leaverequest' for Emailer:Class"..
What is it ..?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.