noosfero | Added video type and url formatted to video plugin (!1207)
Leandro Nunes
gitlab at mg.gitlab.com
Mon May 8 16:15:06 BRT 2017
Leandro Nunes started a new discussion on plugins/video/test/unit/video_block_test.rb:
> block = VideoPlugin::VideoBlock.new
> block.url = "http://www.vmsd.com/98979.mp4"
> 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 video in this case
---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1207#note_29064494
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/6775f0e3/attachment-0001.html>
More information about the Noosfero-dev
mailing list