spec/lib/onebox/engine/wikipedia_onebox_spec.rb in onebox-1.5.21 vs spec/lib/onebox/engine/wikipedia_onebox_spec.rb in onebox-1.5.22
- old
+ new
@@ -1,9 +1,10 @@
require "spec_helper"
describe Onebox::Engine::WikipediaOnebox do
before(:all) do
@link = "http://en.wikipedia.org/wiki/Billy_Jack"
+ fake("https://en.wikipedia.org/wiki/Billy_Jack", response(described_class.onebox_name))
end
include_context "engines"
it_behaves_like "an engine"