Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Fix tests to stub out calls to rummager now that
Browse files Browse the repository at this point in the history
rummageable artefact commits after removing an
artefact link (87e9071)
  • Loading branch information
john-griffin committed Sep 4, 2012
1 parent cca04cd commit 0e622ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/artefacts_controller_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 0e622ff

Please sign in to comment.