Sha256: 04b4e7f434df398082bbaac64050c6c8ee461fe8237fc15eac7d1f9741628f0f
Contents?: true
Size: 527 Bytes
Versions: 1
Compression:
Stored size: 527 Bytes
Contents
#look into fakefs more #require 'fakefs/spec_helpers' # # require 'spec_helper' describe Git do before :all do Dotman.ensure_dotman_folder_exists FileUtils.rm_rf("#{ENV['HOME']}/.dotman/Timbinous_dotfiles") end context "cloning a new repo" do before :each do end it "clones to the $HOME/.dotman folder" do expect { Git.clone_repository("git@github.com:Timbinous/dotfiles.git") }. to change { File.directory?("#{ENV['HOME']}/.dotman/Timbinous_dotfiles") }.to true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dotman-0.0.1 | spec/integration/git_integration_spec.rb |