fix code style
This commit is contained in:
parent
cca510028a
commit
eb0c709286
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue