Sha256: e2cfa59fecb27e0e614ebdc39e9d075330edd0599bec1a49577e9f56ab0a5424

Contents?: true

Size: 814 Bytes

Versions: 22

Compression:

Stored size: 814 Bytes

Contents

require 'spec_helper'

describe file('/tmp/cron_stopped') do
  it { should be_file }
  its(:content) do
    expect(subject.content.lines.size).to eq 1
  end
end

# FIXME: cron service is not running in docker...
#
# root@3450c6da6ea5:/# ps -C cron
#   PID TTY          TIME CMD
# root@3450c6da6ea5:/# service cron start
# Rather than invoking init scripts through /etc/init.d, use the service(8)
# utility, e.g. service cron start
#
# Since the script you are attempting to invoke has been converted to an
# Upstart job, you may also use the start(8) utility, e.g. start cron
# root@3450c6da6ea5:/# ps -C cron
#   PID TTY          TIME CMD
# root@3450c6da6ea5:/#

# describe file('/tmp/cron_running') do
#   it { should be_file }
#   its(:content) do
#     expect(subject.content.lines.size).to eq 2
#   end
# end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
itamae-1.14.1 spec/integration/docker_spec.rb
itamae-1.14.0 spec/integration/docker_spec.rb
itamae-1.13.1 spec/integration/docker_spec.rb
itamae-1.13.0 spec/integration/docker_spec.rb
itamae-1.12.6 spec/integration/docker_spec.rb
itamae-1.12.5 spec/integration/docker_spec.rb
itamae-1.12.4 spec/integration/docker_spec.rb
itamae-1.12.3 spec/integration/docker_spec.rb
itamae-1.12.2 spec/integration/docker_spec.rb
itamae-1.12.1 spec/integration/docker_spec.rb
itamae-1.12.0 spec/integration/docker_spec.rb
itamae-1.11.2 spec/integration/docker_spec.rb
itamae-1.11.1 spec/integration/docker_spec.rb
itamae-1.11.0 spec/integration/docker_spec.rb
itamae-1.10.10 spec/integration/docker_spec.rb
itamae-1.10.9 spec/integration/docker_spec.rb
itamae-1.10.8 spec/integration/docker_spec.rb
itamae-1.10.7 spec/integration/docker_spec.rb
itamae-1.10.6 spec/integration/docker_spec.rb
itamae-1.10.5 spec/integration/docker_spec.rb