Sha256: b48f9f9d94966536a49fbab78f3c45c4b7e707b4f1046acaa46c9e261e99da73

Contents?: true

Size: 274 Bytes

Versions: 30

Compression:

Stored size: 274 Bytes

Contents

require 'spec_helper'

describe Onebox::Engine::TwitchVideoOnebox do

  it "has the iframe with the correct channel" do
    expect(Onebox.preview('https://www.twitch.tv/videos/140675974').to_s).to match(/<iframe src="\/\/player\.twitch\.tv\/\?video=v140675974/)

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

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