Sha256: 1b0060fa09e9aaee978efa779967f4832b6ccc4ce3232aff9d7030af8f7576a8

Contents?: true

Size: 499 Bytes

Versions: 5

Compression:

Stored size: 499 Bytes

Contents

require 'spec_helper'
require 'hooloo/video'

describe Hooloo::Video do
  let(:video) { Hooloo::Video.new 407993 }
  it 'should split the copyright field on commas' do
    video.copyright.must_be_instance_of Array
    video.copyright.must_include "Reki Kawahara"
  end
  it 'should retrieve the oembed data' do
    video.oembed.must_be_instance_of Hash
    video.oembed.must_include 'title'
    video.oembed.must_include 'thumbnail_url'
    video.oembed.must_include 'large_thumbnail_url'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hooloo-0.3.2 spec/hooloo/video_spec.rb
hooloo-0.3.1 spec/hooloo/video_spec.rb
hooloo-0.3.0 spec/hooloo/video_spec.rb
hooloo-0.2.1 spec/hooloo/video_spec.rb
hooloo-0.2.0 spec/hooloo/video_spec.rb