fix __PACKAGE__->config->{foo} = 'bar' for subclassing
[catagits/Catalyst-Runtime.git] / t / unit_controller_config.t
index 1a6bd78..d99471c 100755 (executable)
@@ -44,7 +44,7 @@ use_ok('Catalyst');
 
     use base 'base_controller';
 
-    __PACKAGE__->config( key_b => 'value_b' );
+    __PACKAGE__->config->{key_b} = 'value_b';
 }
 
 ## Okay, we expect that the base controller has a config with one key