Sha256: fbe66af8dc6a7b14f562b6a270d5c33808910d14d55b642d79ba7ab845256464

Contents?: true

Size: 478 Bytes

Versions: 4

Compression:

Stored size: 478 Bytes

Contents

require 'spec_helper'

describe Poms::Builderless::Clip do
  let(:clip) { Poms.fetch_clip('WO_NPO_1950962') }

  it 'has a title' do
    expect(clip.title).to eq 'De wielen van de bus'
  end
  it 'has a video url' do
    expect(clip.video_url).to eq 'http://download.omroep.nl/npo/zappelin/DWVZ_AFL_86_De_wielen_van_de_bus.mp4'
  end

  it 'has an image id' do
    expect(clip.image_id).to eq '653515'
  end

  it 'has a position' do
    expect(clip.position).to eq 2
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
poms-1.2.2 spec/lib/poms/builderless/clip_spec.rb
poms-1.2.1 spec/lib/poms/builderless/clip_spec.rb
poms-1.2.0 spec/lib/poms/builderless/clip_spec.rb
poms-1.1.0 spec/lib/poms/builderless/clip_spec.rb