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
eb0c7092
Commit
eb0c7092
authored
Sep 27, 2017
by
Jarka Kadlecova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code style
parent
cca51002
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
spec/features/issuables/discussion_lock_spec.rb
spec/features/issuables/discussion_lock_spec.rb
+2
-2
spec/features/merge_requests/discussion_lock_spec.rb
spec/features/merge_requests/discussion_lock_spec.rb
+2
-2
No files found.
spec/features/issuables/discussion_lock_spec.rb
View file @
eb0c7092
...
...
@@ -97,8 +97,8 @@ describe 'Discussion Lock', :js do
it
'the user can not create a comment'
do
page
.
within
(
'#notes'
)
do
expect
(
page
).
not_to
have_selector
(
'js-main-target-form'
)
expect
(
page
.
find
(
'.disabled-comment'
))
.
to
have_content
(
'This issue is locked. Only project members can comment.'
)
expect
(
page
.
find
(
'.disabled-comment'
))
.
to
have_content
(
'This issue is locked. Only project members can comment.'
)
end
end
end
...
...
spec/features/merge_requests/discussion_lock_spec.rb
View file @
eb0c7092
...
...
@@ -40,8 +40,8 @@ describe 'Discussion Lock', :js do
it
'the user can not create a comment'
do
page
.
within
(
'.issuable-discussion #notes'
)
do
expect
(
page
).
not_to
have_selector
(
'js-main-target-form'
)
expect
(
page
.
find
(
'.disabled-comment'
))
.
to
have_content
(
'This merge request is locked. Only project members can comment.'
)
expect
(
page
.
find
(
'.disabled-comment'
))
.
to
have_content
(
'This merge request is locked. Only project members can comment.'
)
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