I got the Notifier model included in the user spec like require 'notifier.rb' By adding this i can now access Notifier.deliver_signup_notification method(i checked up in the code and it user deliver before that) Now i can access the method. But another problem is i am getting error as "undefined method `email' for 327378:Fixnum" in app/models/notifier.rb:5:in `signup_notification' i.e. on this line "setup_email( user.email )" This means that it is getting the user object.But i have added user in fixtures. How can i add this user to point it to notifier object?
-- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users