Use more explicit example in CLI spec

This commit is contained in:
Thibault Jouan 2014-01-19 00:05:01 +00:00
parent 913cba6c23
commit a031cb2b51

View File

@ -53,7 +53,9 @@ module Producer::Core
context 'without arguments' do
let(:arguments) { [] }
specify { expect { cli }.to raise_error described_class::ArgumentError }
it 'raises our ArgumentError exception' do
expect { cli }.to raise_error described_class::ArgumentError
end
end
end