diff options
| -rw-r--r-- | spec/views/public_body/show.rhtml_spec.rb | 1 | ||||
| -rw-r--r-- | spec/views/request/list.rhtml_spec.rb | 3 | 
2 files changed, 3 insertions, 1 deletions
diff --git a/spec/views/public_body/show.rhtml_spec.rb b/spec/views/public_body/show.rhtml_spec.rb index 8b7385954..1d21f80c4 100644 --- a/spec/views/public_body/show.rhtml_spec.rb +++ b/spec/views/public_body/show.rhtml_spec.rb @@ -105,6 +105,7 @@ def mock_event              :display_status => 'waiting_response',              :calculate_status => 'waiting_response',              :public_body => @pb, +            :is_external? => false,              :user => mock_model(User, :name => 'Test User', :url_name => 'testuser')          ),          :incoming_message => nil, :is_incoming_message? => false, diff --git a/spec/views/request/list.rhtml_spec.rb b/spec/views/request/list.rhtml_spec.rb index c7067294f..94ece5e76 100644 --- a/spec/views/request/list.rhtml_spec.rb +++ b/spec/views/request/list.rhtml_spec.rb @@ -19,7 +19,8 @@ describe "when listing recent requests" do                  :display_status => 'awaiting_response',                  :calculate_status => 'awaiting_response',                  :public_body => mock_model(PublicBody, :name => 'Test Quango', :url_name => 'testquango'), -                :user => mock_model(User, :name => 'Test User', :url_name => 'testuser') +                :user => mock_model(User, :name => 'Test User', :url_name => 'testuser'), +                :is_external? => false              ),              :incoming_message => nil, :is_incoming_message? => false,              :outgoing_message => nil, :is_outgoing_message? => false,  | 
