Sha256: 757211edcbb380d1c32ec016b01f6359fa1b3de9154061c8d5e79257a850482d

Contents?: true

Size: 462 Bytes

Versions: 2

Compression:

Stored size: 462 Bytes

Contents

# This is just a funny looking spec, a lot of work is needed to improve it


def clean_output
  root=$root_fixture_path+'/output'
  root=Pathname root
  if root.exist?
    root.rmtree
    root.mkpath
  else
    root.mkpath
  end
end

describe "A simple markdown blogger" do
  before(:each) do
    clean_output
  end

  let(:publisher){ Blogdown::Publisher.new($root_fixture_path) }

  it{ expect{publisher.compose}.to_not raise_error}
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blogdown-0.0.2 spec/blogdown/blogdown_spec.rb
blogdown-0.0.1 spec/blogdown/blogdown_spec.rb