about summary refs log tree commit diff
path: root/t/builder.t
diff options
context:
space:
mode:
Diffstat (limited to 't/builder.t')
-rw-r--r--t/builder.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/t/builder.t b/t/builder.t
new file mode 100644
index 0000000..c952c12
--- /dev/null
+++ b/t/builder.t
@@ -0,0 +1,15 @@
+
+use strict;
+use warnings;
+use Test::More tests => 3;
+
+use jitterbug::Builder;
+
+{
+    local @ARGV = qw(-c blarg.yml);
+    my $b = jitterbug::Builder->new();
+
+    isa_ok($b,'jitterbug::Builder');
+    is($b->{'configfile'}, 'blarg.yml');
+    can_ok($b,'run');
+}