spec/unit/berkshelf/location_spec.rb in berkshelf-2.0.3 vs spec/unit/berkshelf/location_spec.rb in berkshelf-2.0.4
- old
+ new
@@ -138,15 +138,9 @@
subject do
Class.new { include Berkshelf::Location }.new(name, constraint)
end
- describe 'downloaded?' do
- it 'starts as false' do
- expect(subject.downloaded?).to be_false
- end
- end
-
describe '#download' do
it 'raises a AbstractFunction if not defined' do
expect {
subject.download(double('destination'))
}.to raise_error(Berkshelf::AbstractFunction)