Sha256: c4920254585fa77d2f4c641f4b421748047d4e0c3d77fd3d74898c5f8cfe6c15
Contents?: true
Size: 472 Bytes
Versions: 1
Compression:
Stored size: 472 Bytes
Contents
require 'spec_helper' require 'harp2hugo' describe(Harp2hugo) do it "should load json data and create a new file" do Dir.chdir("spec") harp2hugo = Harp2hugo.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
harp2hugo-0.0.1 | spec/harp2hugo_spec.rb |