Skip to content

link: Write tests on templates#784

Merged
gela-d merged 1 commit intoissues/753@v2from
issues/770@v2
Jul 23, 2014
Merged

link: Write tests on templates#784
gela-d merged 1 commit intoissues/753@v2from
issues/770@v2

Conversation

@lapinlapin
Copy link

Close #770

@tadatuta
Copy link
Member

tadatuta commented Jul 8, 2014

лучше именовать файлы 10-имя-примера.суффикс, 20-имя-примера.суффикс и т.д.
имена можно давать намекающие на то, что тестируется в данном тесте

@lapinlapin
Copy link
Author

хорошо, поправлю

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

0 передавать не строкой, а числом

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

готово

@gela-d
Copy link
Member

gela-d commented Jul 8, 2014

Не хватает примера с урлом, в котором есть bemjson

@gela-d
Copy link
Member

gela-d commented Jul 8, 2014

В остальном все ок.

@tadatuta tadatuta added this to the v2.0 milestone Jul 9, 2014
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

исправь на 1, т.к. ноль - это значение по умолчанию

@lapinlapin
Copy link
Author

Все поправил

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

давай проверять эскейпинг - замени url на "url" : "//ya.ru/yandsearch?text=<script type=\"javascript\">&amp;=test"

@lapinlapin
Copy link
Author

@sipayRT

@sipayRT
Copy link
Contributor

sipayRT commented Jul 14, 2014

ok

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Я бы тут убрала табиндекс для проверки https://github.com/bem/bem-components/blob/v2/common.blocks/link/link.bemhtml#L26

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

А, ниже пример, да, оставляем.

@gela-d
Copy link
Member

gela-d commented Jul 17, 2014

Все ок.

gela-d pushed a commit that referenced this pull request Jul 23, 2014
link: Write tests on templates
@gela-d gela-d merged commit a34cd37 into issues/753@v2 Jul 23, 2014
@gela-d gela-d deleted the issues/770@v2 branch July 23, 2014 11:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants