docker-spec 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a3856ad41980d720cbfffc99157f1e87520265d
4
- data.tar.gz: cdcc2657a028eb1cd7ddbcd795964f17194695a0
3
+ metadata.gz: f60c0fcf0bed0115d2091b30d66b841d88614017
4
+ data.tar.gz: d7f7c2a04495e39d49cf9ec05672e26f901b66b7
5
5
  SHA512:
6
- metadata.gz: f081358fa6a6db4f470edb731f0490d061cc9d11b0fb711806168f3e5a72e68e9921ec4ab7cd770fad7785e1685c492056453c402d1bb12721a48757ab22878e
7
- data.tar.gz: a7c7d8333780c2d9afd8d7fccbc6370eb4cf0b21ad0a44bafb2d0115507e9feeefa6010f08100d5e87481f5b6d09f36b3dc3c7246572f803ff5f03ad418bcaa0
6
+ metadata.gz: ee9ab7dd0d0024f7bba9decd56b8271e5fa8b9b58fcfb917ee49a4566e17d7832bc4ac62dd0fda037e16470913ffecc6c11eb21b81cd2c0c99adf55df8746496
7
+ data.tar.gz: 2695f9a195974871331946439925de9b0eebf865baf2a6322797534f4a4e77681a1222cc101dd33e5f92b914028c69a6bbcb20672cc47d0eb82ed3534f4d8b71
@@ -19,13 +19,17 @@ module Docker
19
19
  expect(@container.json['State']['Running']).to be true
20
20
  end
21
21
 
22
- it 'Should not have exit processes' do
23
- expect(@container.logs(stdout: true)).to_not match(/exit/)
24
- end
25
-
26
22
  it 'Services supervisor should be running' do
27
23
  expect(process('supervisord')).to be_running
28
24
  end
25
+
26
+ it 'Should not have exit processes' do
27
+ if @container.logs(stdout: true).match(/exit/)
28
+ logs = command('cat /var/log/supervisor/*').stdout
29
+ File.open('supervisor-err.log', 'w+').write logs
30
+ end
31
+ expect(@container.logs(stdout: true)).to_not match(/exit/)
32
+ end
29
33
  end
30
34
  end
31
35
  end
@@ -1,5 +1,5 @@
1
1
  module Docker
2
2
  module Spec
3
- VERSION = "0.11.0"
3
+ VERSION = "0.12.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger