Use more explicit example in CLI spec
This commit is contained in:
parent
913cba6c23
commit
a031cb2b51
@ -53,7 +53,9 @@ module Producer::Core
|
|||||||
context 'without arguments' do
|
context 'without arguments' do
|
||||||
let(:arguments) { [] }
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user