features/dump_as_insert.feature in sqldump-0.0.2 vs features/dump_as_insert.feature in sqldump-0.0.3
- old
+ new
@@ -19,5 +19,22 @@
When I run `sqldump -d foo.sqlite -i number`
Then it should pass with:
"""
INSERT INTO number (number) VALUES (NULL);
"""
+
+ Scenario: pretty print
+ Given a database "foo.sqlite" with a table "numbers_and_strings" with the following data
+ | number[int] | string |
+ | 42 | thingy |
+ When I run `sqldump -d foo.sqlite -it numbers_and_strings`
+ Then it should pass with:
+ """
+ INSERT INTO numbers_and_strings (
+ number,
+ string
+ )
+ VALUES (
+ 42,
+ 'thingy'
+ );
+ """