diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-02-24 14:21:47 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-02-24 14:21:47 +0000 |
commit | b327a36371ea3c0151452ae5e516e63c5fc53b54 (patch) | |
tree | 53680345115830bac4eb617615acac6546f11d10 /t/cobrand/loading.t | |
parent | 9bd3b875d7a16f2a8842feb6913431ae789047bd (diff) |
Return lang to set in HTML
added 'is_default' method to cobrands
tests for i18n (includin checking *.mo files generated)
more debug output in footer
Diffstat (limited to 't/cobrand/loading.t')
-rw-r--r-- | t/cobrand/loading.t | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/t/cobrand/loading.t b/t/cobrand/loading.t index aa74bbb91..405ef4761 100644 --- a/t/cobrand/loading.t +++ b/t/cobrand/loading.t @@ -63,5 +63,9 @@ is FixMyStreet::Cobrand::EmptyHomes->moniker, 'emptyhomes', is FixMyStreet::Cobrand::EmptyHomes->new->moniker, 'emptyhomes', 'object->moniker works'; +# check is_default works +ok FixMyStreet::Cobrand::Default->is_default, '::Default is default'; +ok !FixMyStreet::Cobrand::EmptyHomes->is_default, '::Emptyhomes is not default'; + # all done done_testing(); |