pull/512/head
Hagen Schink 11 years ago
parent 8f56b0f376
commit 7789adc153
  1. 2
      spec/controllers/work_packages_controller_spec.rb

@ -345,7 +345,7 @@ describe WorkPackagesController do
it 'should attach attachments if those are provided' do
params[:attachments] = 'attachment-blubs-data'
Attachment.should_receive(:attach_files).with(stub_work_package, params[:attachments])
stub_work_package.should_receive(:attach_files).with(params[:attachments])
controller.stub(:render_attachment_warning_if_needed)
call_action

Loading…
Cancel
Save