Sha256: ef6717300510a9cf3ad6234fe881c8157fef71a55651fec154a3de0da1ffcfa1

Contents?: true

Size: 511 Bytes

Versions: 1

Compression:

Stored size: 511 Bytes

Contents

require 'spec_helper'

describe MultiMarkdown do
  context "with bluecloth" do
    let(:library)  { :bluecloth  }
    let(:constant) { 'BlueCloth' }

    before { Bundler.setup(library) }

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
multi_markdown-0.2.0 spec/libraries/bluecloth_spec.rb