summaryrefslogtreecommitdiff
path: root/spec/FlexiTable_spec.rb
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-08-28 20:23:38 +0200
committerChris Schlaeger <chris@linux.com>2014-08-28 20:23:38 +0200
commit3c32e378c9ffc01c1ed994483571193127a4e6a4 (patch)
treeaaf4d47e8162ca971dfb3e6d9b546f8ccc8f643b /spec/FlexiTable_spec.rb
parenta0e09bf3c5d9f78961239cc262d12c1af8d4cff4 (diff)
downloadpostrunner-3c32e378c9ffc01c1ed994483571193127a4e6a4.zip
Adding support for metric and statute units.
Diffstat (limited to 'spec/FlexiTable_spec.rb')
-rw-r--r--spec/FlexiTable_spec.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/spec/FlexiTable_spec.rb b/spec/FlexiTable_spec.rb
index f08e59a..5a03c56 100644
--- a/spec/FlexiTable_spec.rb
+++ b/spec/FlexiTable_spec.rb
@@ -19,7 +19,13 @@ describe PostRunner::FlexiTable do
row(%w( a bb ))
row(%w( ccc ddddd ))
end
- puts t.to_s
+ ref = <<EOT
++---+-----+
+|a |bb |
+|ccc|ddddd|
++---+-----+
+EOT
+ t.to_s.should == ref
end
end