Hello alltogether,

thanks for your help. A mixture of stub_model and .errors.stub!() helped me to solve my problem.

I also stumbled across the right arguments of have_tag. I thought it's similar to assert_select as the docs said. But it isn't. I found http://rubypond.com/articles/2008/03/31/using-rspec-have_tag/ which is a nice introduction to it.

Thanks again,
Martin
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to