Use more explicit example in CLI spec
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user