Hi,

How can I test flash.now[:key] is being set in a controller test? Both
flash[:key] and flash.now[:key].should == message didn't work

I can use response.session["flash"][:key].should == message . Just looks bad

Thanks

Yi

-- 
http://yiwenandsoftware.wordpress.com
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to