Sha256: b668ebc4386cbc143a081e7116d8503abc6536aed616eaa6e83d4ab988861bae
Contents?: true
Size: 405 Bytes
Versions: 2
Compression:
Stored size: 405 Bytes
Contents
require "spec_helper" describe Onebox::Engine::ExampleOnebox do let(:link) { "http://example.com" } before do fake(link, response("example.response")) end it_behaves_like "engines" describe "#to_html" do let(:html) { described_class.new(link).to_html } it "returns template if given valid data" do expect(html).to include(onebox_view("Example Domain 1")) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
onebox-1.0.1 | spec/lib/onebox/engine/example_spec.rb |
onebox-1.0.0 | spec/lib/onebox/engine/example_spec.rb |