Sha256: 70f7c68ab53f5bc58b55cce45662cdbaf20c54709460fd64610755abc002cbd8
Contents?: true
Size: 704 Bytes
Versions: 28
Compression:
Stored size: 704 Bytes
Contents
require "spec_helper" describe Onebox::Engine::SteamStoreWidgetOnebox do before do fake("http://store.steampowered.com/app/10/", response("steamstorewidget")) end it "supports iframe widget render" do expect(Onebox.preview('http://store.steampowered.com/app/10/').to_s).to match(/<iframe/) end it "supports http app to https widget resource" do expect(Onebox.preview('http://store.steampowered.com/app/10/').to_s).to match('https://store.steampowered.com/widget/10/') end it "supports a simple preview without an iframe" do expect(Onebox.preview('http://store.steampowered.com/app/10/').placeholder_html.to_s).to match('Steam Store Widget onebox preview') end end
Version data entries
28 entries across 28 versions & 1 rubygems