summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-07-06 21:15:19 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-07-06 21:15:19 +0200
commitb15574fb5c5411bd67b9e6a43715771578821d72 (patch)
tree47c01aa0b9d9aef47055f6d0340278ca5ba91c64
parent3cc88b443be12b243870e35ddc335a96be6499bb (diff)
t/29-app-raps2.t: Test ->ui / no_cli option
-rw-r--r--t/29-app-raps2.t4
1 files changed, 3 insertions, 1 deletions
diff --git a/t/29-app-raps2.t b/t/29-app-raps2.t
index 39d507d..3e2d250 100644
--- a/t/29-app-raps2.t
+++ b/t/29-app-raps2.t
@@ -3,7 +3,7 @@ use strict;
use warnings;
use 5.010;
-use Test::More tests => 10;
+use Test::More tests => 11;
$ENV{XDG_CONFIG_HOME} = 't/config';
$ENV{XDG_DATA_HOME} = 't/data';
@@ -21,6 +21,8 @@ is_deeply(
'file_to_hash works',
);
+is ($r2->ui, undef, 'no_cli works (no UI object created)');
+
$r2->pw_save(
password => 'foopass',
name => 'test1'