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.39 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.38 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.36 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.35 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.34 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.33 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.32 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.31 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.30 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.29 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.28 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.27 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.26 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.25 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.24 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.23 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.22 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.21 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.20 spec/lib/onebox/engine/twitch_video_onebox_spec.rb
onebox-1.8.19 spec/lib/onebox/engine/twitch_video_onebox_spec.rb