noosfero | Added video type and url formatted to video plugin (!1207)

Leandro Nunes gitlab at mg.gitlab.com
Mon May 8 16:14:36 BRT 2017


Leandro Nunes started a new discussion on plugins/video/test/unit/video_block_test.rb:

>      block = VideoPlugin::VideoBlock.new
>      block.url = "https://youtube.com/?v=XXXXX"
>      assert_includes block.api_content, :url
> +    assert_includes block.api_content, :video_type

This test check only if the key video_type is present and in this case you expect have a specific value for video_type.

Please make a test that check is the video_type is youtube in this case

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1207#note_29064482
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170508/ae63681d/attachment.html>


More information about the Noosfero-dev mailing list