From b15574fb5c5411bd67b9e6a43715771578821d72 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 6 Jul 2011 21:15:19 +0200 Subject: t/29-app-raps2.t: Test ->ui / no_cli option --- t/29-app-raps2.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3