Sha256: 5457ddfee92151877debe5c808c5985bd87c3d8d856a21f8d02bf5f684b523e0

Contents?: true

Size: 275 Bytes

Versions: 12

Compression:

Stored size: 275 Bytes

Contents

require 'spec_helper'

describe Onebox::Engine::TwitchStreamOnebox do

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

  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

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