Sha256: 3e98d4d7f7926832f163bb096bcbf1a94b50b1b237f704fa9e3de6185b8103ef

Contents?: true

Size: 528 Bytes

Versions: 3

Compression:

Stored size: 528 Bytes

Contents

require 'spec_helper'

describe MultiMarkdown do
  context "with rpeg_markdown" do
    let(:library)  { :rpeg_markdown }
    let(:constant) { 'PEGMarkdown'  }

    before { Bundler.setup(library) }

    describe "find" do
      before { require 'peg_markdown' }

      it "should find the PEGMarkdown" do
        subject.find(library).name.should == constant
      end
    end

    describe "use" do
      it "should load and find PEGMarkdown" do
        subject.use(library).name.should == constant
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
multi_markdown-0.2.0 spec/libraries/rpeg_markdown_spec.rb
multi_markdown-0.1.0 spec/libraries/rpeg_markdown_spec.rb
multi_markdown-0.1.0.pre1 spec/libraries/rpeg_markdown_spec.rb