test/integration/inspec/inspec_spec.rb in kitchen-docker-2.9.0 vs test/integration/inspec/inspec_spec.rb in kitchen-docker-2.10.0
- old
+ new
@@ -13,8 +13,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Just make sure the image launched and is reachable.
-describe command('true') do
- its(:exit_status) { is_expected.to eq 0 }
+if os[:family] == 'windows'
+ describe command('echo 1') do
+ its(:exit_status) { is_expected.to eq 0 }
+ end
+else
+ describe command('true') do
+ its(:exit_status) { is_expected.to eq 0 }
+ end
end