Sha256: 848adea7a5f11e83895ce69180a271fbb4ed820fe739681227c00a19b662ea70
Contents?: true
Size: 565 Bytes
Versions: 1
Compression:
Stored size: 565 Bytes
Contents
require "spec_helper" describe(Jekyll) do Jekyll.logger.log_level = :error let(:config_overrides) { {} } let(:config) do Jekyll.configuration( config_overrides.merge( "source" => source_dir, "destination" => dest_dir, "url" => "http://example.org", ) ) end let(:site) { Jekyll::Site.new(config) } let(:contents) { File.read(dest_dir("index.html")) } before(:each) do site.process end it "creates a figref element" do expect(contents).to match /See <a href="#example">figure 1<\/a>/ end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll-figure-0.2.0 | spec/jekyll-figure-ref_spec.rb |