public
Fork of brynary/webrat
Description: Webrat - Ruby Acceptance Testing for Web applications
Homepage:
Clone URL: git://github.com/joshknowles/webrat.git
Caching the config should actually cache the config
joshknowles (author)
Sun Nov 16 21:43:08 -0800 2008
commit  118ca28cb2e0c48db67603920a974d8ca7755112
tree    16e18436243178afde5e93b648938b4057bc7883
parent  3abaa924cc289dde19e004ae27292d0159e2b606
...
18
19
20
21
 
22
23
 
24
25
 
26
27
28
...
18
19
20
 
21
22
 
23
24
 
25
26
27
28
0
@@ -18,11 +18,11 @@ end
0
 
0
 module Webrat
0
   @@previous_config = nil
0
-  
0
+
0
   def self.cache_config_for_test
0
-    @@configuration = Webrat.configuration
0
+    @@previous_config = Webrat.configuration.clone
0
   end
0
-  
0
+
0
   def self.reset_for_test
0
     @@configuration = @@previous_config if @@previous_config
0
   end

Comments