RSPEC Ejemplos compartidos
# declare the shared example
shared_examples 'foo' do
it 'passes do
expect(true).to be true
end
end
context 'using the shared example' do
include_examples 'foo'
end
Mo Lucas