onebox 1.5.65 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,21 +0,0 @@
1
- require "spec_helper"
2
-
3
- describe Onebox::Engine::SteamStoreWidgetOnebox do
4
-
5
- before do
6
- fake("http://store.steampowered.com/app/10/", response("steamstorewidget"))
7
- end
8
-
9
- it "supports iframe widget render" do
10
- expect(Onebox.preview('http://store.steampowered.com/app/10/').to_s).to match(/<iframe/)
11
- end
12
-
13
- it "supports http app to https widget resource" do
14
- expect(Onebox.preview('http://store.steampowered.com/app/10/').to_s).to match('https://store.steampowered.com/widget/10/')
15
- end
16
-
17
- it "supports a simple preview without an iframe" do
18
- expect(Onebox.preview('http://store.steampowered.com/app/10/').placeholder_html.to_s).to match('Steam Store Widget onebox preview')
19
- end
20
-
21
- end