From bafffb2d14e1924154d5b7c74c7b3cbcf8c898fd Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 11 Aug 2015 09:59:40 +0300 Subject: Enable SSL verification for Webhooks --- features/steps/admin/hooks.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 features/steps/admin/hooks.rb (limited to 'features/steps/admin') diff --git a/features/steps/admin/hooks.rb b/features/steps/admin/hooks.rb new file mode 100644 index 00000000000..541e25fcb70 --- /dev/null +++ b/features/steps/admin/hooks.rb @@ -0,0 +1,15 @@ +class Spinach::Features::AdminHooks < Spinach::FeatureSteps + include SharedAuthentication + include SharedPaths + include SharedAdmin + + step "I submit the form with enabled SSL verification" do + fill_in 'hook_url', with: 'http://google.com' + check "Enable SSL verification" + click_on "Add System Hook" + end + + step "I see new hook with enabled SSL verification" do + expect(page).to have_content "SSL Verification: enabled" + end +end -- cgit v1.2.3