Remove shared action specs on attr_reader

This commit is contained in:
Thibault Jouan 2014-10-08 23:43:08 +00:00
parent c4006416e4
commit e7a46cecd1

View File

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