From 0e622ff3e025e5d1e6d75f9a97b491405e11f804 Mon Sep 17 00:00:00 2001 From: John Griffin Date: Tue, 4 Sep 2012 17:12:03 +0100 Subject: [PATCH] Fix tests to stub out calls to rummager now that rummageable artefact commits after removing an artefact link (87e90714e3) --- test/functional/artefacts_controller_test.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/functional/artefacts_controller_test.rb b/test/functional/artefacts_controller_test.rb index fe754f55..0132a095 100644 --- a/test/functional/artefacts_controller_test.rb +++ b/test/functional/artefacts_controller_test.rb @@ -268,6 +268,8 @@ class ArtefactsControllerTest < ActionController::TestCase to_return(:status => 200) WebMock.stub_request(:delete, "http://search.test.gov.uk/documents/%2Fwhatever"). to_return(:status => 200) + WebMock.stub_request(:post, "http://search.test.gov.uk/commit"). + to_return(:status => 200) end should "mark an artefact as archived" do