Hello,

I also tried testing for the flash notice being set, but it's not working.

it "sets a flash[:notice] message" do
  post :create
  flash[:notice].should == "The message was saved successfully."
end

this is the line in the controller that's setting the notice.

redirect_to messages_path, :notice =>  "The message was saved successfully."


Anybody have some insight on this?

-- 
Andrei Erdoss
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to