@@ -66,14 +66,6 @@ def image
66
66
it { should be_file }
67
67
end
68
68
69
- describe command ( "ps auxww" ) do
70
- its ( :stdout ) { should match /just testing... debug processes/ }
71
- end
72
-
73
- describe command ( "netstat -tunl" ) do
74
- its ( :stdout ) { should match /just testing... debug network/ }
75
- end
76
-
77
69
describe command ( "ps -o args= | grep python | grep -v grep | head -n1" ) do
78
70
its ( :stdout ) { should match /-m SimpleHTTPServer 8080/ }
79
71
end
@@ -91,22 +83,6 @@ def image
91
83
Specinfra ::Runner . send_file ( File . join ( File . dirname ( __FILE__ ) , '..' , 'fixtures' , 'helloworld.txt' ) , '/var/www/' )
92
84
end
93
85
94
- describe command ( "ps auxww" ) do
95
- its ( :stdout ) { should match /just testing... debug processes/ }
96
- end
97
-
98
- describe command ( "netstat -tunl" ) do
99
- its ( :stdout ) { should match /just testing... debug network/ }
100
- end
101
-
102
- describe command ( "cat /etc/os-release" ) do
103
- its ( :stdout ) { should match /just testing... debug os-release/ }
104
- end
105
-
106
- describe command ( "uname -a" ) do
107
- its ( :stdout ) { should match /just testing... debug uname/ }
108
- end
109
-
110
86
describe file ( '/var/www/helloworld.txt' ) do
111
87
it { should be_file }
112
88
end
0 commit comments