fix code style

This commit is contained in:
Jarka Kadlecova 2017-09-27 08:30:40 +02:00
parent cca510028a
commit eb0c709286
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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