test/unit/test_testcase.rb in twtest-0.0.5 vs test/unit/test_testcase.rb in twtest-0.0.6

- old
+ new

@@ -13,14 +13,14 @@ def test_import contents = {:description => "foobar"} input_file = Tempfile.new('test_simple') begin - input_file.write(contents.to_json) + input_file.write(MultiJson.dump(contents)) input_file.close # TODO Replace temp file with in-process version -# task("import <(echo '#{contents.to_json}')") +# task("import <(echo '#{MultiJson.dump(contents)}')") task("import #{input_file.path}") tasks = export_tasks assert_equal(1, tasks.size) assert_equal('foobar', tasks.first['description']) \ No newline at end of file