spec/kontena/cli/app/deploy_command_spec.rb in kontena-cli-0.9.1 vs spec/kontena/cli/app/deploy_command_spec.rb in kontena-cli-0.9.2

- old
+ new

@@ -124,10 +124,9 @@ subject.run(["--file", "custom.yml"]) end it 'uses current directory as service name prefix by default' do current_dir = '/kontena/tests/stacks' - allow(Dir).to receive(:chdir).and_return(true) allow(Dir).to receive(:getwd).and_return(current_dir) expect(File).to receive(:basename).with(current_dir).and_return('stacks') subject.run([]) end