Sha256: 8af7bdb763e8f06ad28915c63aa493f793009ab4c6980083415018ce29f6097e
Contents?: true
Size: 1.24 KB
Versions: 5
Compression:
Stored size: 1.24 KB
Contents
shared_examples 'a job' do it { is_expected.to be_a Rundeck::ObjectifiedHash } it { is_expected.to respond_to(:id) } it { is_expected.to respond_to(:name) } it { is_expected.to respond_to(:group) } it { is_expected.to respond_to(:description) } end shared_examples 'a job with a project attribute' do it_behaves_like 'a job' it { is_expected.to respond_to(:project) } end shared_examples 'a job import' do it { is_expected.to be_a Rundeck::ObjectifiedHash } it { is_expected.to respond_to(:id) } it { is_expected.to respond_to(:name) } it { is_expected.to respond_to(:group) } it { is_expected.to respond_to(:project) } it { is_expected.to respond_to(:url) } end shared_examples 'an execution' do it { is_expected.to be_a Rundeck::ObjectifiedHash } it { is_expected.to respond_to(:user) } it { is_expected.to respond_to(:date_started) } it { is_expected.to respond_to(:description) } it { is_expected.to respond_to(:argstring) } end shared_examples 'a past execution' do it_behaves_like 'an execution' it { is_expected.to respond_to(:date_ended) } end shared_examples 'a token' do it { is_expected.to be_a Rundeck::ObjectifiedHash } it { is_expected.to respond_to(:id) } it { is_expected.to respond_to(:user) } end
Version data entries
5 entries across 5 versions & 1 rubygems