Sha256: 034d0749fd27aceb30f66da3fabb12dda2f0912aa1f44aeb44707e058a6ab30b

Contents?: true

Size: 291 Bytes

Versions: 30

Compression:

Stored size: 291 Bytes

Contents

require 'spec_helper'

describe Onebox::Engine::TwitchClipsOnebox do

  it "has the iframe with the correct channel" do
    expect(Onebox.preview('https://clips.twitch.tv/FunVastGalagoKlappa').to_s).to match(/<iframe src="\/\/clips\.twitch\.tv\/embed\?clip=FunVastGalagoKlappa/)

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
onebox-1.8.18 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.17 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.16 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.15 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.14 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.13 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.12 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.11 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.10 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb
onebox-1.8.9 spec/lib/onebox/engine/twitch_clips_onebox_spec.rb