spec/meta_data_spec.rb in harp2hugo-0.0.3 vs spec/meta_data_spec.rb in harp2hugo-0.0.4

- old
+ new

@@ -3,24 +3,23 @@ describe(Harp2Hugo::MetaData) do expected_yaml = <<-eos --- -title: Dropwizard HTTPS JerseyClient with runtime JSSE CA Certificates +title: Spit up on light gray carpet instead of adjacent linoleum chew iPad power cord date: '2015-05-16' tags: -- dropwizard -- ssl -- jersey +- cat +- lipsum +- meow author: yunspace -linktitle: Dropwizard HTTPS JerseyClient with runtime JSSE CA Certificates --- eos - it "should convert json to yaml" do - json_data = {"title" => "Dropwizard HTTPS JerseyClient with runtime JSSE CA Certificates", + it "should convert json to yaml without linewrap" do + json_data = {"title" => "Spit up on light gray carpet instead of adjacent linoleum chew iPad power cord", "date" => "2015-05-16", - "tags" => ["dropwizard", "ssl", "jersey"], + "tags" => ["cat", "lipsum", "meow"], "author" => "yunspace"} metadata = Harp2Hugo::MetaData.new(json_data) expect(metadata.to_yaml).to eq(expected_yaml) end \ No newline at end of file