Permalink
Browse files

Revert "Renamed to flashStorage.cfc"

This reverts commit 64ffeb7.
  • Loading branch information...
1 parent 93e6e0e commit 00aa4e940e2507bd83fdb7c4735993e8a5de3ab9 @jordanclark committed Sep 23, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 wheels/tests/controller/flash/cookieStorage.cfc
@@ -0,0 +1,12 @@
+<cfcomponent extends="wheelsMapping.Test">
+
+ <cfinclude template="setup.cfm">
+
+ <cffunction name="test_cookie_storage_should_be_enabled">
+ <cfset loc.controller.$setFlashStorage("cookie")>
+ <cfset assert('loc.controller.$getFlashStorage() eq "cookie"')>
+ <cfset loc.controller.$setFlashStorage("session")>
+ <cfset assert('loc.controller.$getFlashStorage() eq "session"')>
+ </cffunction>
+
+</cfcomponent>

0 comments on commit 00aa4e9

Please sign in to comment.