Remove shared action specs on attr_reader
This commit is contained in:
parent
c4006416e4
commit
e7a46cecd1
@ -6,24 +6,6 @@ module Producer::Core
|
||||
let(:options) { { foo: :bar } }
|
||||
subject(:action) { described_class.new(env, *arguments, options) }
|
||||
|
||||
describe '#env' do
|
||||
it 'returns the assigned env' do
|
||||
expect(action.env).to be env
|
||||
end
|
||||
end
|
||||
|
||||
describe '#arguments' do
|
||||
it 'returns the assigned arguments' do
|
||||
expect(action.arguments).to eq arguments
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user