projects
/
catagits/CatalystX-DynamicComponent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fix tests, add autobox to flatten interface roles so you can use a string or array...
[catagits/CatalystX-DynamicComponent.git]
/
t
/
04_dynamicmodel.t
diff --git
a/t/04_dynamicmodel.t
b/t/04_dynamicmodel.t
index
48274a5
..
00b8e90
100644
(file)
--- a/
t/04_dynamicmodel.t
+++ b/
t/04_dynamicmodel.t
@@
-12,7
+12,7
@@
my $model = DynamicAppDemo->model('One');
ok $model;
isa_ok $model, 'SomeModelClass';
-is $model->say_hello('world'), 'Hello world';
+is_deeply $model->say_hello({name => 'world'}), { type => 'say_hello_response', body => 'Hello world' };
ok(DynamicAppDemo->model('Two'), 'Have model Two');