Bill Moseley <mose...@hank.org> schrieb am 25.09.2012: > The app has a myapp.yml config which includes configuration for > creating an instance of a Model component -- and part of that Model's > config is a database dsn attribute. When running my test I do want > to have the app load this config file -- but I want to modify it > on-the-fly.
Why? Why not simply create a myapp_test.yml file and set CATALYST_CONFIG_LOCAL_SUFFIX to "test" when you run your test-suite?
signature.asc
Description: PGP signature
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/