lib/soaspec/shared_examples.rb in soaspec-0.0.7 vs lib/soaspec/shared_examples.rb in soaspec-0.0.8
- old
+ new
@@ -5,10 +5,10 @@
expect(described_class.status_code).to eq 200
end
if described_class.mandatory_elements
context 'has expected mandatory elements' do
described_class.mandatory_elements.each do |mandatory_element|
- it "#{mandatory_element} element" do
+ it mandatory_element do
expect(described_class).to contain_key mandatory_element
end
end
end
end
\ No newline at end of file