5 let(:input) { double('input').as_null_object
}
6 let(:output) { double('output').as_null_object
}
7 let(:erd) { Erd
.new(input
, output
) }
10 it
"reads a single box" do
11 doc
= Document
.new File
.new("spec/fixtures/single_box_erd.xml")
13 erd
.mark
.should
== 6.5
14 erd
.boxes
.length
.should
== 1