summaryrefslogtreecommitdiff
path: root/test/FlexiTable_spec.rb
diff options
context:
space:
mode:
authorChris Schlaeger <chris@linux.com>2014-07-27 22:34:46 +0200
committerChris Schlaeger <chris@linux.com>2014-07-27 22:34:46 +0200
commit4f742d6a95c4c936cff891dc5f64c177201a4139 (patch)
tree0d1b5e136d72008fae89dc72f4685735cbdb4239 /test/FlexiTable_spec.rb
parentd60fdbc524326703526c1bf021c99e75a39fe6a5 (diff)
downloadpostrunner-4f742d6a95c4c936cff891dc5f64c177201a4139.zip
Refactoring the command handling
Diffstat (limited to 'test/FlexiTable_spec.rb')
-rw-r--r--test/FlexiTable_spec.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/FlexiTable_spec.rb b/test/FlexiTable_spec.rb
new file mode 100644
index 0000000..dedc9cb
--- /dev/null
+++ b/test/FlexiTable_spec.rb
@@ -0,0 +1,14 @@
+require 'postrunner/FlexiTable'
+
+describe PostRunner::FlexiTable do
+
+ it 'should create a simple ASCII table' do
+ t = PostRunner::FlexiTable.new do
+ row(%w( a bb ))
+ row(%w( ccc ddddd ))
+ end
+ puts t.to_s
+ end
+
+end
+