summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/29-app-raps2.t7
1 files changed, 4 insertions, 3 deletions
diff --git a/t/29-app-raps2.t b/t/29-app-raps2.t
index d1f5bac..ddea7fa 100644
--- a/t/29-app-raps2.t
+++ b/t/29-app-raps2.t
@@ -8,7 +8,7 @@ use Test::More;
eval "use Test::MockObject";
plan skip_all => 'Test::MockObject required' if $@;
-plan tests => 3;
+plan tests => 4;
my $mock = Test::MockObject->new();
$mock->fake_module(
@@ -18,12 +18,13 @@ $mock->fake_module(
use_ok('App::Raps2');
-my $r2 = App::Raps2->new();
+my $r2 = App::Raps2->new( dont_touch_fs => 1 );
isa_ok($r2, 'App::Raps2');
+isa_ok($r2->ui(), 'App::Raps2::UI');
+
is_deeply(
{ $r2->file_to_hash('t/in/hash') },
{ key => 'value', otherkey => 'othervalue' },
'file_to_hash works',
);
-