Support `mkdir' status attributes
This commit is contained in:
@@ -3,7 +3,8 @@ module Producer::Core
|
||||
include TestEnvHelpers
|
||||
|
||||
let(:arguments) { [:some, :arguments] }
|
||||
subject(:action) { described_class.new(env, *arguments) }
|
||||
let(:options) { { foo: :bar } }
|
||||
subject(:action) { described_class.new(env, *arguments, options) }
|
||||
|
||||
describe '#env' do
|
||||
it 'returns the assigned env' do
|
||||
@@ -17,6 +18,12 @@ module Producer::Core
|
||||
end
|
||||
end
|
||||
|
||||
describe '#options' do
|
||||
it 'returns the assigned options' do
|
||||
expect(action.options).to eq options
|
||||
end
|
||||
end
|
||||
|
||||
describe '#input' do
|
||||
it 'returns env input' do
|
||||
expect(action.input).to be env.input
|
||||
|
Reference in New Issue
Block a user