X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=trunk%2Ft%2Faggregate%2Flive_component_controller_moose.t;fp=trunk%2Ft%2Faggregate%2Flive_component_controller_moose.t;h=0000000000000000000000000000000000000000;hb=2757db2c7c600c8a0b8e2b4366f38c97804c2844;hp=74d2fee49b65368ec965be0527fef97379c4658c;hpb=ceae39c522c2145a453188867dd581062795ecee;p=catagits%2FCatalyst-Runtime.git diff --git a/trunk/t/aggregate/live_component_controller_moose.t b/trunk/t/aggregate/live_component_controller_moose.t deleted file mode 100644 index 74d2fee..0000000 --- a/trunk/t/aggregate/live_component_controller_moose.t +++ /dev/null @@ -1,36 +0,0 @@ -use strict; -use warnings; - -use FindBin; -use lib "$FindBin::Bin/../lib"; - -use Test::More tests => 12; -use Catalyst::Test 'TestApp'; - -{ - my $response = request('http://localhost/moose/get_attribute'); - ok($response->is_success); - is($response->content, '42', 'attribute default values get set correctly'); -} - -{ - my $response = request('http://localhost/moose/methodmodifiers/get_attribute'); - ok($response->is_success); - is($response->content, '42', 'parent controller method called'); - is($response->header('X-Catalyst-Test-After'), 'after called', 'after works as expected'); -} - -{ - my $response = request('http://localhost/moose/with_local_modifier'); - ok($response->is_success); - is($response->content, '42', 'attribute default values get set correctly'); - is($response->header('X-Catalyst-Test-Before'), 'before called', 'before works as expected'); -} -{ - my $response = request('http://localhost/moose/methodmodifiers/with_local_modifier'); - ok($response->is_success); - is($response->content, '42', 'attribute default values get set correctly'); - is($response->header('X-Catalyst-Test-After'), 'after called', 'after works as expected'); - is($response->header('X-Catalyst-Test-Before'), 'before called', 'before works as expected'); -} -