Sha256: 2710902b0c6bee145b148b958da84ef0865810cf6ae8a7fd26c4dcf36c513f0b

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

require "spec_helper"

describe Onebox::Engine::GithubGistOnebox do
  before(:all) do
    @link = "https://gist.github.com/anikalindtner/153044e9bea3331cc103"
    @uri = "https://api.github.com/gists/153044e9bea3331cc103"
  end

  include_context "engines"
  it_behaves_like "an engine"

  describe "#to_html" do
    it "includes sha" do
      expect(html).to include("153044e9bea3331cc103")
    end

    it "includes script" do
      expect(html).to include("script")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
onebox-1.2.6 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.5 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.4 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.3 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.2 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.1 spec/lib/onebox/engine/github_gist_onebox_spec.rb
onebox-1.2.0 spec/lib/onebox/engine/github_gist_onebox_spec.rb