spec/unit/berkshelf/locations/git_location_spec.rb in berkshelf-2.0.3 vs spec/unit/berkshelf/locations/git_location_spec.rb in berkshelf-2.0.4
- old
+ new
@@ -50,14 +50,9 @@
file 'metadata.rb'
end
}
end
- it 'sets the downloaded status to true' do
- subject.download(tmp_path)
- expect(subject).to be_downloaded
- end
-
context 'given no ref/branch/tag options is given' do
subject { Berkshelf::GitLocation.new('berkshelf-cookbook-fixture', complacent_constraint, git: 'git://github.com/RiotGames/berkshelf-cookbook-fixture.git') }
it 'sets the branch attribute to the HEAD revision of the cloned repo' do
subject.download(tmp_path)