Restoring my clever flash refactoring

This commit is contained in:
Will Marshall
2014-06-06 16:41:28 +10:00
parent c07809d328
commit dbf4f503a9
13 changed files with 25 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