spec/kontena/cli/app/deploy_command_spec.rb in kontena-cli-0.14.7 vs spec/kontena/cli/app/deploy_command_spec.rb in kontena-cli-0.15.0.rc1
- old
+ new
@@ -218,10 +218,10 @@
'env' => ['WORDPRESS_DB_PASSWORD=kontena-test_secret'],
'container_count' => 2,
'stateful' => true,
'strategy' => 'ha',
'links' => [{ 'name' => 'kontena-test-mysql', 'alias' => 'mysql' }],
- 'ports' => [{ 'container_port' => '80', 'node_port' => '80', 'protocol' => 'tcp' }]
+ 'ports' => [{ 'ip' => '0.0.0.0','container_port' => '80', 'node_port' => '80', 'protocol' => 'tcp' }]
}
expect(subject).to receive(:create_service).with('1234567', '1', hash_including(data))
subject.run([])
end