diff options
-rw-r--r-- | spec/views/request/show.rhtml_spec.rb | 6 |
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', |