Sha256: 63767b6d624cf0978a05661d26eb5a2f99b1aef03d0d2d36bd073dc1b70571a2

Contents?: true

Size: 393 Bytes

Versions: 4

Compression:

Stored size: 393 Bytes

Contents

require 'spec_helper'

describe Downr::Markdown do 
  before(:each) do
    Downr.configuration.stub(:options).and_return({})
    Downr::Render.any_instance.stub(:new).and_return(Object)
    Redcarpet::Markdown.any_instance.stub(:new).and_return(Object)
  end

  it { should respond_to(:renderer) }

  it "should have a render method" do
    Downr::Markdown.should respond_to(:render)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
downr-0.0.7 spec/lib/downr/markdown_spec.rb
downr-0.0.6 spec/lib/downr/markdown_spec.rb
downr-0.0.5 spec/lib/downr/markdown_spec.rb
downr-0.0.4 spec/lib/downr/markdown_spec.rb