require "spec_helper" describe Onebox::Engine::ImageOnebox do it "supports png" do expect(Onebox.preview('http://www.discourse.org/images/logo.png').to_s).to match(/