Sha256: ca17e686b72296df95c5b55c23b35bc7d50ea8f0070a3209dfacbfc85398b8ce

Contents?: true

Size: 213 Bytes

Versions: 4

Compression:

Stored size: 213 Bytes

Contents

module FsHelper
  def self.switch_fs!(state = :before)
    Dir.chdir(File.join(File.dirname(__FILE__), "../filesystem_#{state}"))
  end
  
  # alias
  def switch_fs!(*args)
    FsHelper.switch_fs!(*args)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chillfile-0.1.0 spec/support/fs_helper.rb
chillfile-0.0.3 spec/support/fs_helper.rb
chillfile-0.0.2 spec/support/fs_helper.rb
chillfile-0.0.1 spec/support/fs_helper.rb