Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions spec/acceptance/kube_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,21 @@
end
end

describe command('systemctl cat kubeycentos.service') do
it 'generates a service file' do
puts subject.stdout
expect(subject.exit_status).to eq(0)
end
end

describe service('kubeycentos.service') do
after do |example|
if example.exception
puts command('systemctl status kubeycentos.service --no-pager -l').stdout
puts command('journalctl -u kubeycentos.service --no-pager -n 200').stdout
end
end

it { is_expected.to be_running }
it { is_expected.to be_enabled }
end
Expand Down
Loading