Improve CLI spec examples sort order
This commit is contained in:
parent
17ad00a81a
commit
2ee3b5dbaf
@ -97,6 +97,12 @@ module Producer::Core
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
describe '#env' do
|
||||||
|
it 'returns the assigned env' do
|
||||||
|
expect(cli.env).to be_an Env
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
describe '#parse_arguments!' do
|
describe '#parse_arguments!' do
|
||||||
context 'with options' do
|
context 'with options' do
|
||||||
let(:options) { %w[-v] }
|
let(:options) { %w[-v] }
|
||||||
@ -141,12 +147,6 @@ module Producer::Core
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe '#env' do
|
|
||||||
it 'returns an env' do
|
|
||||||
expect(cli.env).to be_an Env
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
describe '#load_recipe' do
|
describe '#load_recipe' do
|
||||||
it 'evaluates the recipe file with the CLI env' do
|
it 'evaluates the recipe file with the CLI env' do
|
||||||
expect(Recipe)
|
expect(Recipe)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user