Sha256: 8fba4e8bb247416c959b307e688d5ada2606006e62febae70e0c7b26092bf99b

Contents?: true

Size: 560 Bytes

Versions: 3

Compression:

Stored size: 560 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

  context "Publishing" do
    before(:each) do
      clean_output
    end
    let(:publisher){ Blogdown::Publisher.new $root_fixture_path}

    describe "composer" do
      it{
        expect{publisher.compose}.to_not raise_error
      }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
blogdown-0.1.2 spec/blogdown/blogdown_spec.rb
blogdown-0.1.1 spec/blogdown/blogdown_spec.rb
blogdown-0.1.0 spec/blogdown/blogdown_spec.rb