Sha256: 431079a50c946c4e9e12e927d75549cebce8bfcdf0eed306a467b3c572df7f21
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
require 'spec_helper' describe Rdpl::Line do let(:element) { Rdpl::Line.new } it_should_behave_like 'lines and boxes' describe "#to_s" do it "should return a string represention of the graphic element" do line = Rdpl::Line.new( :horizontal_width => 12.2, :vertical_width => 14.3, :row_position => 23.4, :column_position => 24.5 ) line.to_s.should == "1X1100002340245l01220143" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rdpl-0.2.0 | spec/elements/line_spec.rb |
rdpl-0.1.0 | spec/elements/line_spec.rb |