From 7d4f2cd6db48e527f4822fe318ff4a82c064c645 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 29 Apr 2011 19:29:33 -0700 Subject: Make the command-line arg of the builder --config to match jitterbug_db --- t/005_builder.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't/005_builder.t') diff --git a/t/005_builder.t b/t/005_builder.t index 3adf39f..cc0bb0a 100644 --- a/t/005_builder.t +++ b/t/005_builder.t @@ -17,7 +17,7 @@ jitterbug::Test->init(); isa_ok($b,'jitterbug::Builder'); can_ok($b,qw/run build run_task sleep/); - is($b->{'configfile'}, 't/data/test.yml'); + is($b->{'config'}, 't/data/test.yml'); is($b->{'cron'}, 1 ); } @@ -33,7 +33,7 @@ jitterbug::Test->init(); local @ARGV = qw(-c t/data/test.yml -C); my $b = jitterbug::Builder->new(); isa_ok($b, 'jitterbug::Builder'); - is($b->{'configfile'}, 't/data/test.yml'); + is($b->{'config'}, 't/data/test.yml'); is($b->run, 0, '->run returns 0 in cron mode'); -- cgit 1.4.1