Sha256: 7769a71345816b8c0dd946a54505453ebe1c52870b87c12a1fe153855df20a57
Contents?: true
Size: 298 Bytes
Versions: 4
Compression:
Stored size: 298 Bytes
Contents
#helper method for output tests def capture_log origin = $stdout $stdout = StringIO.new yield $stdout = origin end #helper method for clearing temp directory def clear_tmp Dir.chdir $default[:dir] FileUtils.rm_rf 'tmp' if File.directory? 'tmp' Dir.mkdir 'tmp' Dir.chdir 'tmp' end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
classicCMS-0.2.3 | spec/methods.rb |
classicCMS-0.2.2 | spec/methods.rb |
classicCMS-0.2.1 | spec/methods.rb |
classicCMS-0.2.0 | spec/methods.rb |