Sha256: 8c444e33de55a1ed495182c3bd03f0a66ec9a26afc8957e7b9b71db600865c6f
Contents?: true
Size: 650 Bytes
Versions: 1
Compression:
Stored size: 650 Bytes
Contents
shared_examples_for 'Soap Read Object' do it { should respond_to(:info) } it { should respond_to(:get) } end shared_examples_for 'Soap CUD Object' do it { should respond_to(:post) } it { should respond_to(:patch) } it { should respond_to(:delete) } end shared_examples_for 'Soap Object' do it { should respond_to(:id) } it_behaves_like 'Soap Read Object' it_behaves_like 'Soap CUD Object' end shared_examples_for 'Soap Read Only Object' do it { should respond_to(:id) } it_behaves_like 'Soap Read Object' it { should_not respond_to(:post) } it { should_not respond_to(:patch) } it { should_not respond_to(:delete) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fuelsdk-0.0.4 | spec/objects_helper_spec.rb |