Updated tests

This commit is contained in:
Phil Hughes
2016-04-26 14:14:34 +01:00
parent 4c772d9bc8
commit b651303ea6
+2 -2
View File
@@ -48,12 +48,12 @@ class Spinach::Features::ProjectHooks < Spinach::FeatureSteps
step 'I click test hook button' do
stub_request(:post, @hook.url).to_return(status: 200)
click_link 'Test Hook'
click_link 'Test'
end
step 'I click test hook button with invalid URL' do
stub_request(:post, @hook.url).to_raise(SocketError)
click_link 'Test Hook'
click_link 'Test'
end
step 'hook should be triggered' do