diff options
author | Jose Ivan Vargas Lopez <jvargas@gitlab.com> | 2017-04-04 22:36:19 +0000 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-06 14:58:57 -0500 |
commit | c2a987fb9c5c8f6879516ce04c439fb45fcd8fae (patch) | |
tree | d5b3b811e01bcd51a89ba8405f8640c84004d0e2 /spec/features/admin/admin_hooks_spec.rb | |
parent | eb2d6a6ed5736b7f4b5868636e4ba659118d0a40 (diff) | |
download | gitlab-ce-c2a987fb9c5c8f6879516ce04c439fb45fcd8fae.tar.gz |
Admin section capitalization fix
Diffstat (limited to 'spec/features/admin/admin_hooks_spec.rb')
-rw-r--r-- | spec/features/admin/admin_hooks_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/admin/admin_hooks_spec.rb b/spec/features/admin/admin_hooks_spec.rb index 570c374a89b..fb519a9bf12 100644 --- a/spec/features/admin/admin_hooks_spec.rb +++ b/spec/features/admin/admin_hooks_spec.rb @@ -33,7 +33,7 @@ describe "Admin::Hooks", feature: true do fill_in 'hook_url', with: url check 'Enable SSL verification' - expect { click_button 'Add System Hook' }.to change(SystemHook, :count).by(1) + expect { click_button 'Add system hook' }.to change(SystemHook, :count).by(1) expect(page).to have_content 'SSL Verification: enabled' expect(current_path).to eq(admin_hooks_path) expect(page).to have_content(url) @@ -44,7 +44,7 @@ describe "Admin::Hooks", feature: true do before do WebMock.stub_request(:post, @system_hook.url) visit admin_hooks_path - click_link "Test Hook" + click_link "Test hook" end it { expect(current_path).to eq(admin_hooks_path) } |