aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancis Irving <francis@mysociety.org>2010-07-18 12:59:22 +0100
committerFrancis Irving <francis@mysociety.org>2010-07-18 12:59:22 +0100
commitc31d21b2171c6f1565f054feaa48b182ad971bb0 (patch)
tree045b20770c7206c23e98ba5aa6b68ec04b517944
parent3981460a8b2e5924e9b833ea214bc6ce0c3dfe33 (diff)
Reflect change to show photos
-rw-r--r--spec/views/request/show.rhtml_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/views/request/show.rhtml_spec.rb b/spec/views/request/show.rhtml_spec.rb
index 22860f0c5..54ce9c63a 100644
--- a/spec/views/request/show.rhtml_spec.rb
+++ b/spec/views/request/show.rhtml_spec.rb
@@ -7,10 +7,12 @@ describe 'when viewing an information request' do
:url_name => 'test_body',
:is_school? => false)
@mock_user = mock_model(User, :name => 'test user',
- :url_name => 'test_user')
+ :url_name => 'test_user',
+ :profile_photo => nil)
@mock_request = mock_model(InfoRequest, :title => 'test request',
:awaiting_description => false,
- :law_used_with_a => '',
+ :law_used_with_a => 'A Freedom of Information request',
+ :law_used_full => 'Freedom of Information',
:public_body => @mock_body,
:user => @mock_user,
:calculate_status => 'waiting_response',