Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e16bc50d
Commit
e16bc50d
authored
Dec 06, 2016
by
Semyon Pupkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move admin logs spinach test to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
parent
18201ace
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
8 deletions
+19
-8
changelogs/unreleased/move-admin-logs-spinach-test-to-rspec.yml
...logs/unreleased/move-admin-logs-spinach-test-to-rspec.yml
+4
-0
features/admin/logs.feature
features/admin/logs.feature
+0
-8
spec/features/admin/admin_browses_logs_spec.rb
spec/features/admin/admin_browses_logs_spec.rb
+15
-0
No files found.
changelogs/unreleased/move-admin-logs-spinach-test-to-rspec.yml
0 → 100644
View file @
e16bc50d
---
title
:
Move admin logs spinach test to rspec
merge_request
:
7945
author
:
Semyon Pupkov
features/admin/logs.feature
deleted
100644 → 0
View file @
18201ace
@admin
Feature
:
Admin Logs
Background
:
Given
I sign in as an admin
Scenario
:
On Admin Logs
Given
I visit admin logs page
Then
I should see tabs with available logs
features/steps/admin/logs
.rb
→
spec/features/admin/admin_browses_logs_spec
.rb
View file @
e16bc50d
class
Spinach::Features::AdminLogs
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
SharedAdmin
require
'spec_helper'
describe
'Admin browses logs'
do
before
do
login_as
:admin
end
it
'shows available log files'
do
visit
admin_logs_path
step
'I should see tabs with available logs'
do
expect
(
page
).
to
have_content
'test.log'
expect
(
page
).
to
have_content
'githost.log'
expect
(
page
).
to
have_content
'application.log'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment