diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 21:15:19 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-07-06 21:15:19 +0200 |
commit | b15574fb5c5411bd67b9e6a43715771578821d72 (patch) | |
tree | 47c01aa0b9d9aef47055f6d0340278ca5ba91c64 | |
parent | 3cc88b443be12b243870e35ddc335a96be6499bb (diff) |
t/29-app-raps2.t: Test ->ui / no_cli option
-rw-r--r-- | t/29-app-raps2.t | 4 |
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' |