Sha256: 3377d9bb76df52c615b5102e8e5d370eaf6aa93fa8082bcdbb7ff614f5500a23

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require 'spec_helper'

describe MultiMarkdown do
  context "with maruku" do
    let(:library)  { :maruku  }
    let(:constant) { 'Maruku' }

    before { Bundler.setup(library) }

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

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

    describe "use" do
      it "should load and find Maruku" 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/maruku_spec.rb