Sha256: 58058810cff062154a6391e6ab41824147b8902f6791d3527eb609e36af1933f
Contents?: true
Size: 546 Bytes
Versions: 22
Compression:
Stored size: 546 Bytes
Contents
require "spec_helper" describe Onebox::Engine::StackExchangeOnebox do before(:all) do @link = "http://stackoverflow.com/questions/17992553/concept-behind-these-four-lines-of-tricky-c-code" fake("https://api.stackexchange.com/2.1/questions/17992553?site=stackoverflow.com", response(described_class.onebox_name)) end include_context "engines" it_behaves_like "an engine" describe "#to_html" do it "includes question" do expect(html).to include("Concept behind these four lines of tricky C++ code") end end end
Version data entries
22 entries across 22 versions & 1 rubygems