aboutsummaryrefslogtreecommitdiffstats
path: root/t/app/controller
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-07-19 16:01:52 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-07-19 16:08:09 +0100
commit8dc2821130092d16ee96d703165bd3c505aa867f (patch)
tree753851503e28373607e48c7bc7304ee362308a82 /t/app/controller
parenta555312994060ba682634de58acf934005dfde84 (diff)
Treat Other more like a normal category.
Diffstat (limited to 't/app/controller')
-rw-r--r--t/app/controller/dashboard.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/app/controller/dashboard.t b/t/app/controller/dashboard.t
index c3b6c014a..47d10ff5c 100644
--- a/t/app/controller/dashboard.t
+++ b/t/app/controller/dashboard.t
@@ -49,7 +49,7 @@ FixMyStreet::App->model('DB::Contact')->search( { area_id => $test_council } )
delete_problems();
-my @cats = qw( Grafitti Litter Potholes );
+my @cats = qw( Grafitti Litter Potholes Other );
for my $contact ( @cats ) {
FixMyStreet::App->model('DB::Contact')->create(
{
@@ -90,7 +90,7 @@ my $categories = scraper {
},
};
-my $expected_cats = [ 'All', '-- Pick a category --', @cats, 'Other' ];
+my $expected_cats = [ 'All', '-- Pick a category --', @cats ];
my $res = $categories->scrape( $mech->content );
is_deeply( $res->{cats}, $expected_cats, 'correct list of categories' );