spec/kpm/remote/nexus_facade_spec.rb in kpm-0.8.2 vs spec/kpm/remote/nexus_facade_spec.rb in kpm-0.9.0
- old
+ new
@@ -49,16 +49,16 @@
it 'when pull artifact' do
response = nil
destination = Dir.mktmpdir('artifact')
expect { response = nexus_remote.pull_artifact(coordinates, destination) }.not_to raise_exception
destination = File.join(File.expand_path(destination), response[:file_name])
- expect(File.exist?(destination)).to be_true
+ expect(File.exist?(destination)).to be_truthy
end
it 'when pull artifact with classifier' do
response = nil
destination = Dir.mktmpdir('artifact')
expect { response = nexus_remote.pull_artifact(coordinates_with_classifier, destination) }.not_to raise_exception
destination = File.join(File.expand_path(destination), response[:file_name])
- expect(File.exist?(destination)).to be_true
+ expect(File.exist?(destination)).to be_truthy
end
end