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
41022c18
Commit
41022c18
authored
Feb 14, 2017
by
James Lopez
Committed by
Rémy Coutable
Feb 15, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge branch 'approvals-spec-fix-for-816' into '8-16-stable-ee'
Fix approvals spec for 8-16-stable See merge request !1231
parent
562c0f45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/merge_requests/approvals_spec.rb
spec/features/merge_requests/approvals_spec.rb
+3
-3
No files found.
spec/features/merge_requests/approvals_spec.rb
View file @
41022c18
...
...
@@ -265,7 +265,7 @@ feature 'Merge request approvals', js: true, feature: true do
merge_requests_ff_only_enabled:
true
)
end
let
(
:merge_request
)
{
create
(
:merge_request
,
source_project:
project
,
source_branch:
'feature'
,
target_branch:
'wip'
)
}
let
(
:merge_request
)
{
create
(
:merge_request
,
source_project:
project
)
}
before
do
create
:approver_group
,
group:
group
,
target:
merge_request
...
...
@@ -274,12 +274,12 @@ feature 'Merge request approvals', js: true, feature: true do
it
'I am unable to rebase the merge request'
do
# before approval status is loaded
expect
(
page
).
to
have_button
(
'Rebase onto wip'
,
disabled:
true
)
expect
(
page
).
to
have_button
(
"Rebase onto
#{
merge_request
.
target_branch
}
"
,
disabled:
true
)
wait_for_ajax
# after approval status is loaded
expect
(
page
).
to
have_button
(
'Rebase onto wip'
,
disabled:
true
)
expect
(
page
).
to
have_button
(
"Rebase onto
#{
merge_request
.
target_branch
}
"
,
disabled:
true
)
end
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