Sha256: b5b96fb7be0b1d173a56ce9aa1005755c5787a2023d1fb0479daf76f1e0d4dd8
Contents?: true
Size: 494 Bytes
Versions: 2
Compression:
Stored size: 494 Bytes
Contents
require 'spec_helper' require 'harp2hugo' describe(Harp2Hugo::Converter) do it "should load json data and create a new file" do Dir.chdir("spec") harp2hugo = Harp2Hugo::Converter.new "_data.json" harp2hugo.convert "output" result_file = "output/dropwizard-https-jerseyclient-with-runtime-jssecacerts.md" expect(File.exists?result_file).to be_truthy expected_file = "output.md" expect(FileUtils.compare_file(result_file, expected_file)).to be_truthy end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
harp2hugo-0.0.3 | spec/harp2hugo_spec.rb |
harp2hugo-0.0.2 | spec/harp2hugo_spec.rb |