BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1eade585
Commit
1eade585
authored
Aug 12, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix trigger spec by surrounding the accept_confirm in the right place
parent
ad73d242
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
triggers_spec.rb
spec/features/triggers_spec.rb
+5
-4
No files found.
spec/features/triggers_spec.rb
View file @
1eade585
...
...
@@ -94,12 +94,13 @@ feature 'Triggers', js: true do
scenario
'take trigger ownership'
do
# See if "Take ownership" on trigger works post trigger creation
find
(
'a.btn-trigger-take-ownership'
).
click
page
.
accept_confirm
do
expect
(
page
.
find
(
'.flash-notice'
)).
to
have_content
'Trigger was re-assigned.'
expect
(
page
.
find
(
'.triggers-list'
)).
to
have_content
trigger_title
expect
(
page
.
find
(
'.triggers-list .trigger-owner'
)).
to
have_content
user
.
name
find
(
'a.btn-trigger-take-ownership'
).
click
end
expect
(
page
.
find
(
'.flash-notice'
)).
to
have_content
'Trigger was re-assigned.'
expect
(
page
.
find
(
'.triggers-list'
)).
to
have_content
trigger_title
expect
(
page
.
find
(
'.triggers-list .trigger-owner'
)).
to
have_content
user
.
name
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