Sha256: 44d2edba809317c47ac920cc79224caf32edef838ae30d93e55c7623f4c978f4
Contents?: true
Size: 511 Bytes
Versions: 3
Compression:
Stored size: 511 Bytes
Contents
require 'spec_helper' describe MultiMarkdown do context "with rdiscount" do let(:library) { :rdiscount } let(:constant) { 'RDiscount' } before { Bundler.setup(library) } describe "find" do before { require 'rdiscount' } it "should find the RDiscount" do subject.find(library).name.should == constant end end describe "use" do it "should load and find RDiscount" 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/rdiscount_spec.rb |
multi_markdown-0.1.0 | spec/libraries/rdiscount_spec.rb |
multi_markdown-0.1.0.pre1 | spec/libraries/rdiscount_spec.rb |