Sha256: 6df493d5aa611fed3a038fba0365b33a1a59e10da314feb914ead03c62f8220d
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
require 'spec_helper' describe Dotman::Base do context "when .dotman folder doesn't exist in the home directory" do before :all do FileUtils.rm_rf("#{ENV['HOME']}/.dotman") end it "creates a new folder" do File.directory?("#{ENV['HOME']}/.dotman").should == false Dotman::Base.ensure_dotman_folder_exists File.directory?("#{ENV['HOME']}/.dotman").should == true end after :each do FileUtils.rm_rf("#{ENV['HOME']}/.dotman") end end end
Version data entries
8 entries across 8 versions & 1 rubygems