diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-12-12 13:22:19 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-12-15 00:11:05 +0000 |
commit | 07b07d90cf666a06cb071ceebcecbd21d91e6b60 (patch) | |
tree | 09a71baac637dfe9e87ebc1738b2e2b2f7e9c617 /t/app/controller/report_display.t | |
parent | f82abb282f60191ee530c552bf025e509e2a57e8 (diff) |
Rename from_council to from_body, and small related changes.
Diffstat (limited to 't/app/controller/report_display.t')
-rw-r--r-- | t/app/controller/report_display.t | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/t/app/controller/report_display.t b/t/app/controller/report_display.t index 3bb0913f1..39f1b59a7 100644 --- a/t/app/controller/report_display.t +++ b/t/app/controller/report_display.t @@ -348,32 +348,32 @@ for my $test ( for my $test ( { desc => 'no state dropdown if user not from authority', - from_council => 0, + from_body => 0, no_state => 1, report_council => '2504', }, { desc => 'state dropdown if user from authority', - from_council => 2504, + from_body => 2504, no_state => 0, report_council => '2504', }, { desc => 'no state dropdown if user not from same council as problem', - from_council => 2505, + from_body => 2505, no_state => 1, report_council => '2504', }, { desc => 'state dropdown if user from authority and problem sent to multiple councils', - from_council => 2504, + from_body => 2504, no_state => 0, report_council => '2504,2506', }, ) { subtest $test->{desc} => sub { $mech->log_in_ok( $user->email ); - $user->from_council( $test->{from_council} ); + $user->from_body( $test->{from_body} ); $user->update; $report->discard_changes; |