summaryrefslogtreecommitdiff
path: root/features/steps/admin/hooks.rb
blob: 541e25fcb703fdb955926c082d7807841a4ad8d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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