Sha256: d3cdfa2012f0c1a6032683d46186b6dd01eee8b5cf472f072e7b981af6a5237b
Contents?: true
Size: 421 Bytes
Versions: 4
Compression:
Stored size: 421 Bytes
Contents
require 'spec_helper' describe Mist do it "should generate the repo automatically" do Mist.repository File.should be_directory(Mist.repository_location.join('.git')) end describe "with an existing repo" do before do Git.init(Mist.repository_location.to_s) end it "should not generate the repo" do Git.should_not_receive(:init) Mist.repository end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
mist-0.6.3 | spec/lib/mist/repository_spec.rb |
mist-0.6.2 | spec/lib/mist/repository_spec.rb |
mist-0.6.1 | spec/lib/mist/repository_spec.rb |
mist-0.6.0 | spec/lib/mist/repository_spec.rb |