docker/spec/dockerfile_spec.rb in r10k-3.3.3 vs docker/spec/dockerfile_spec.rb in r10k-3.4.0

- old
+ new

@@ -6,13 +6,15 @@ describe 'r10k container' do include Pupperware::SpecHelpers def run_r10k(command) run_command("docker run --detach \ - --volume #{File.join(SPEC_DIRECTORY, 'fixtures')}:/test \ + --volume #{File.join(SPEC_DIRECTORY, 'fixtures')}:/home/puppet/test \ #{@image} #{command} \ - --puppetfile /test/Puppetfile") + --verbose \ + --trace \ + --puppetfile test/Puppetfile") end before(:all) do @image = require_test_image end @@ -33,10 +35,9 @@ it 'should install the Puppetfile' do result = run_r10k('puppetfile install') container = result[:stdout].chomp wait_on_container_exit(container) expect(get_container_exit_code(container)).to eq(0) - expect(Dir.exist?(File.join(SPEC_DIRECTORY, 'fixtures', 'modules', 'ntp'))).to eq(true) emit_log(container) teardown_container(container) end end