Permalink
Browse files

Fix cucumber tests for search commit

  • Loading branch information...
1 parent 0e622ff commit 193d6c4ece1f8f4fc1c8a34abb4ac3a9ca65fbdd @john-griffin john-griffin committed Sep 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 features/support/registration_info.rb
@@ -58,6 +58,8 @@ def stub_router
def stub_search_delete
@fake_search_delete = WebMock.stub_request(:delete, artefact_search_url(@artefact)).to_return(status: 200)
+ WebMock.stub_request(:post, "http://search.test.gov.uk/commit")
+ .to_return(:status => 200)
end
def stub_router_delete

0 comments on commit 193d6c4

Please sign in to comment.