spec/lib/onebox/engine/slides_onebox_spec.rb in onebox-1.5.50 vs spec/lib/onebox/engine/slides_onebox_spec.rb in onebox-1.5.60

- old
+ new

@@ -9,17 +9,16 @@ fake(link, response("slides")) end describe "#placeholder_html" do it "returns an image as the placeholder" do - expect(Onebox.preview(link) - .placeholder_html).to include("//s3.amazonaws.com/media-p.slid.es/thumbnails/secure/cff7c3/decks.jpg") + expect(Onebox.preview(link).placeholder_html).to include("//s3.amazonaws.com/media-p.slid.es/thumbnails/secure/cff7c3/decks.jpg") end end describe "#to_html" do it "returns iframe embed" do expect(html).to include(URI(link).path) - expect(html).to include("iframe") + expect(html).to include("iframe") end end end