Skip to content
This repository
Newer
Older
100644 13 lines (8 sloc) 0.34 kb
0dca333b »
2009-05-06 Initial commit
1 use Test::More tests => 3;
873f98bf »
2009-08-03 updated tests to use App::Rad::Tester
2 use App::Rad::Tester;
0dca333b »
2009-05-06 Initial commit
3
873f98bf »
2009-08-03 updated tests to use App::Rad::Tester
4 my $c = get_controller;
0dca333b »
2009-05-06 Initial commit
5
6 is($c->cmd, undef, 'no command should be set upon startup');
7
8 $c->cmd = 'somecommand';
9 is($c->cmd, 'somecommand', 'developer should be able to set $c->cmd');
10
11 $c->command = 'anothercommand';
12 is($c->cmd, 'anothercommand', 'developer should be able to set $c->cmd');
Something went wrong with that request. Please try again.