spec/lib/transmission/document_spec.rb in absa-h2h-0.1.4 vs spec/lib/transmission/document_spec.rb in absa-h2h-0.1.5

- old
+ new

@@ -147,6 +147,17 @@ output_string.should == input_string end end + context "when parsing an ahv reply file" do + + it "should build a valid document" do + input_string = File.open("./spec/examples/ahv_reply_file.txt", "rb").read + document = Absa::H2h::Transmission::Document.from_s(input_string, "reply") + # output_string = document.to_s + # output_string.should == input_string + end + + end + end \ No newline at end of file