about summary refs log tree commit diff
path: root/t/006_emailer.t
diff options
context:
space:
mode:
Diffstat (limited to 't/006_emailer.t')
-rw-r--r--t/006_emailer.t17
1 files changed, 17 insertions, 0 deletions
diff --git a/t/006_emailer.t b/t/006_emailer.t
new file mode 100644
index 0000000..cc343d1
--- /dev/null
+++ b/t/006_emailer.t
@@ -0,0 +1,17 @@
+use strict;
+use warnings;
+use Test::Most tests => 3;
+use Data::Dumper;
+
+use_ok "jitterbug::Emailer";
+
+{
+    my $conf = { foo => 'bar' };
+    my $task = {};
+    my $tap = "1..1\nok 1\n";
+    my $e = jitterbug::Emailer->new($conf, $task, $tap);
+
+    isa_ok($e,'jitterbug::Emailer');
+    can_ok($e,qw/new run/);
+
+}