mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-17 04:34:24 +00:00
Reworking flash messages hooray
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user