spec/spec_helper.rb in wordless-0.2.0 vs spec/spec_helper.rb in wordless-0.2.1
- old
+ new
@@ -24,9 +24,11 @@
# end
# end
# end
# end
# end
+
+ FileUtils.mkdir('tmp') unless File.directory? 'tmp'
def capture(stream)
begin
stream = stream.to_s
eval "$#{stream} = StringIO.new"