Re: [rspec-users] RSpec Email-Spec Problem

2010-07-14 Thread Rails Learner
I have figure this out. I wanted to share this in case someone is having the same problem. I have taken a different route to test email body: Here is how my example looks now: it "should contain child's first name and last name in email body" do for part in @email.parts if part["Conte

Re: [rspec-users] RSpec Email-Spec Problem

2010-07-14 Thread Rails Learner
Anyone, who can help? -- Posted via http://www.ruby-forum.com/. ___ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users

[rspec-users] RSpec Email-Spec Problem

2010-07-13 Thread Rails Learner
Hi! I am using email-spec gem with rspec to test email. If the email is multipart email then the example fails. The example passes if it's not multipart email. Any advise on how to get it to pass. Here is the error: 'Form Mailer should contain completed enrollment form in email body' FAILED expec