Открыть боковую панель
nt_test132
nt_project_7gohtg18g8li
Коммиты
276555f7
Коммит
276555f7
создал
Июн 13, 2019
по автору
sarahghp
Просмотр файлов
Nonworking code, for example
владелец
5622affa
Изменения
1
Скрыть пробелы
Построчно
Рядом
spec/features/review_app/user_loads_toolbar_spec.rb
Просмотр файла @
276555f7
# frozen_string_literal: true
require
'spec_helper'
describe
'Toolbar'
,
:js
do
describe
'injected toolbar'
do
add_script
=
%q(
const scriptEl = document.createElement('script');
scriptEl.setAttribute('src', 'https://host-island.sarahghp.now.sh/review-toolbar.js');
scriptEl.setAttribute('data-project' , '11790219');
scriptEl.setAttribute('data-
discussion
' , '1');
scriptEl.setAttribute('d
ata-name
' , '
R
eview
AppToolbar
');
scriptEl.setAttribute('data-project
-id
' , '11790219');
scriptEl.setAttribute('data-
merge-request-id
' , '1');
scriptEl.setAttribute('
i
d' , '
r
eview
-app-toolbar-script
');
scriptEl.setAttribute('data-mr-url' , 'https://gitlab.com');
document.head.appendChild(scriptEl);
)
...
...
Редактирование
Предварительный просмотр
Поддерживает Markdown
0%
Попробовать снова
или
прикрепить новый файл
.
Отмена
You are about to add
0
people
to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Отмена
Пожалуйста,
зарегистрируйтесь
или
войдите
чтобы прокомментировать