X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2F04_dynamicmodel.t;h=00b8e90e5eb6add3a552310e2fe2f626a27c5f64;hb=3765b9eed41ccf7d3fa26c6cfb3ee168d5848659;hp=48274a5f8e238f5a1b471d20c64f40d4dac22c5c;hpb=e36ac2860af760b347657caeb1b2fccfd3353323;p=catagits%2FCatalystX-DynamicComponent.git diff --git a/t/04_dynamicmodel.t b/t/04_dynamicmodel.t index 48274a5..00b8e90 100644 --- 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');