I test my code using ChefSpec and would like to be able to test that I have correctly deployed a Maven artifact.
An example test case might look like:
it 'deploys dependency X to Tomcat' do
expect(chef_run).to put_maven_artifact('X').with(
dest: '/usr/local/tomcat/lib',
group_id: 'org.test',
version: '1.0'
)
end
I test my code using ChefSpec and would like to be able to test that I have correctly deployed a Maven artifact.
An example test case might look like: