Reworking flash messages hooray

This commit is contained in:
Will Marshall
2014-06-06 16:41:28 +10:00
parent 37f197205f
commit c9d0091cd9
14 changed files with 36 additions and 26 deletions

View File

@@ -16,6 +16,6 @@ describe BaseController do
oc.stub(:closed?).and_return true
get :index
response.should redirect_to root_url
flash[:notice].should == "The order cycle you've selected has just closed. Please try again!"
flash[:info].should == "The order cycle you've selected has just closed. Please try again!"
end
end