Hello everyone, I'm trying to write a failure test for updating a model, but the flash[:error] seems to be causing a problem.
All code can be found here: http://pastie.org/private/zcu0fpzbfbjbleocmf1bqw I've also tried using regular expressions, instead of: flash[:error].should == "Name can't be blank" I've tried: flash[:error].should =~ /Name can't be blank/i Thank you in advance!! Andrew Davis -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users