Sha256: f011da9b8861d36b7b0576a4bcbaceddb09b117b33153477700f2164ef23362e
Contents?: true
Size: 368 Bytes
Versions: 11
Compression:
Stored size: 368 Bytes
Contents
module RSpec module Paths def root @root ||= Pathname.new(File.expand_path("../../..", __FILE__)) end def tmp(*path) root.join("tmp", *path) end def home(*path) tmp.join("home", *path) end def flombe_app(*path) root = tmp.join("flombe_app") FileUtils.mkdir_p(root) root.join(*path) end end end
Version data entries
11 entries across 11 versions & 1 rubygems