spec/lib/onebox/engine/wikipedia_onebox_spec.rb in onebox-1.2.9 vs spec/lib/onebox/engine/wikipedia_onebox_spec.rb in onebox-1.3.0

- old
+ new

@@ -1,20 +1,20 @@ require "spec_helper" describe Onebox::Engine::WikipediaOnebox do before(:all) do - @link = "http://en.wikipedia.org/wiki/Kevin_Bacon" + @link = "http://en.wikipedia.org/wiki/Billy_Jack" end include_context "engines" it_behaves_like "an engine" describe "#to_html" do it "includes article image" do - expect(html).to include("225px-Kevin_Bacon_Comic-Con_2012.jpg") + expect(html).to include("Billy_Jack_poster.jpg") end it "includes summary" do - expect(html).to include("Kevin Norwood Bacon (born July 8, 1958)") + expect(html).to include("Billy Jack is a 1971 action/drama") end end end