From e7a46cecd1f829bf6879fa6c449993dfd3942ed9 Mon Sep 17 00:00:00 2001 From: Thibault Jouan Date: Wed, 8 Oct 2014 23:43:08 +0000 Subject: [PATCH] Remove shared action specs on attr_reader --- spec/support/shared_action.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/spec/support/shared_action.rb b/spec/support/shared_action.rb index ba16bfc..7177107 100644 --- a/spec/support/shared_action.rb +++ b/spec/support/shared_action.rb @@ -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