[Jifty-commit] r1967 - in jifty/trunk: . etc t
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Fri Sep 15 17:18:49 EDT 2006
Author: jesse
Date: Fri Sep 15 17:18:49 2006
New Revision: 1967
Added:
jifty/trunk/t/11-config-files.t
Removed:
jifty/trunk/t/Config/
Modified:
jifty/trunk/ (props changed)
jifty/trunk/etc/config.yml
Log:
r27512 at pinglin: jesse | 2006-09-15 21:35:38 +0100
* We don't need a whole testapp to test config file interaction
Modified: jifty/trunk/etc/config.yml
==============================================================================
--- jifty/trunk/etc/config.yml (original)
+++ jifty/trunk/etc/config.yml Fri Sep 15 17:18:49 2006
@@ -3,3 +3,4 @@
framework:
ApplicationName: JiftyApp
+ WhichConfigFile: main
Added: jifty/trunk/t/11-config-files.t
==============================================================================
--- (empty file)
+++ jifty/trunk/t/11-config-files.t Fri Sep 15 17:18:49 2006
@@ -0,0 +1,22 @@
+#!/usr/bin/env perl
+
+use warnings;
+use strict;
+
+=head1 DESCRIPTION
+
+This is a template for your own tests. Copy it and modify it.
+
+=cut
+
+use Jifty::Test tests => 2;
+
+use_ok('Jifty');
+
+Jifty->new(no_handle => 1);
+
+is(Jifty->config->framework('WhichConfigFile'), 'site', "We set the driver to what's in the site config file");
+
+
+1;
+
More information about the Jifty-commit
mailing list