Improve CLI spec examples sort order

This commit is contained in:
Thibault Jouan 2014-05-30 22:58:49 +00:00
parent 17ad00a81a
commit 2ee3b5dbaf

View File

@ -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)