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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
a3b73e26
Commit
a3b73e26
authored
May 04, 2018
by
Constance Okoghenun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated user delete wiki spec
parent
c9b5c42b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
spec/features/projects/wiki/user_deletes_wiki_page_spec.rb
spec/features/projects/wiki/user_deletes_wiki_page_spec.rb
+3
-2
No files found.
spec/features/projects/wiki/user_deletes_wiki_page_spec.rb
View file @
a3b73e26
require
'spec_helper'
require
'spec_helper'
feature
'User deletes wiki page'
do
feature
'User deletes wiki page'
,
:js
do
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
user
.
namespace
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
user
.
namespace
)
}
let
(
:wiki_page
)
{
create
(
:wiki_page
,
wiki:
project
.
wiki
)
}
let
(
:wiki_page
)
{
create
(
:wiki_page
,
wiki:
project
.
wiki
)
}
...
@@ -13,6 +13,7 @@ feature 'User deletes wiki page' do
...
@@ -13,6 +13,7 @@ feature 'User deletes wiki page' do
it
'deletes a page'
do
it
'deletes a page'
do
click_on
(
'Edit'
)
click_on
(
'Edit'
)
click_on
(
'Delete'
)
click_on
(
'Delete'
)
find
(
'.js-modal-primary-action'
).
click
expect
(
page
).
to
have_content
(
'Page was successfully deleted'
)
expect
(
page
).
to
have_content
(
'Page was successfully deleted'
)
end
end
...
...
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