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
6f268e9c
Commit
6f268e9c
authored
Jan 17, 2019
by
Constance Okoghenun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated test for related merge request title
parent
d30823c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
spec/features/issuables/markdown_references/internal_references_spec.rb
...issuables/markdown_references/internal_references_spec.rb
+1
-1
spec/features/issues/user_creates_branch_and_merge_request_spec.rb
...ures/issues/user_creates_branch_and_merge_request_spec.rb
+1
-1
No files found.
spec/features/issuables/markdown_references/internal_references_spec.rb
View file @
6f268e9c
...
@@ -64,7 +64,7 @@ describe "Internal references", :js do
...
@@ -64,7 +64,7 @@ describe "Internal references", :js do
it
"shows references"
do
it
"shows references"
do
page
.
within
(
"#merge-requests .merge-requests-title"
)
do
page
.
within
(
"#merge-requests .merge-requests-title"
)
do
expect
(
page
).
to
have_content
(
"
1 Related Merge Request
"
)
expect
(
page
).
to
have_content
(
"
Related merge requests
"
)
expect
(
page
).
to
have_css
(
".mr-count-badge"
)
expect
(
page
).
to
have_css
(
".mr-count-badge"
)
end
end
...
...
spec/features/issues/user_creates_branch_and_merge_request_spec.rb
View file @
6f268e9c
...
@@ -141,7 +141,7 @@ describe 'User creates branch and merge request on issue page', :js do
...
@@ -141,7 +141,7 @@ describe 'User creates branch and merge request on issue page', :js do
it
'disables the create branch button'
do
it
'disables the create branch button'
do
expect
(
page
).
to
have_css
(
'.create-mr-dropdown-wrap .unavailable:not(.hidden)'
)
expect
(
page
).
to
have_css
(
'.create-mr-dropdown-wrap .unavailable:not(.hidden)'
)
expect
(
page
).
to
have_css
(
'.create-mr-dropdown-wrap .available.hidden'
,
visible:
false
)
expect
(
page
).
to
have_css
(
'.create-mr-dropdown-wrap .available.hidden'
,
visible:
false
)
expect
(
page
).
to
have_content
/
1 Related Merge Request
/
expect
(
page
).
to
have_content
/
Related merge requests
/
end
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