spec/puppet-check_spec.rb in puppet-check-1.5.1 vs spec/puppet-check_spec.rb in puppet-check-1.6.0
- old
+ new
@@ -48,15 +48,15 @@
expect(file[0]).to eql('lib/good.rb')
end
it 'correctly parses one directory and returns all of its files' do
dir.each { |file| expect(File.file?(file)).to be true }
- expect(dir.length).to eql(34)
+ expect(dir.length).to eql(35)
end
it 'correctly parses multiple directories and returns all of their files' do
multi_dir.each { |file| expect(File.file?(file)).to be true }
- expect(multi_dir.length).to eql(16)
+ expect(multi_dir.length).to eql(17)
end
it 'correctly parses three directories (one repeated) and three files (one repeated from directories and another repeated from files) and returns the unique files' do
repeats.each { |file| expect(File.file?(file)).to be true }
expect(repeats.length).to eql(13)