Declare arguments explicitly in actions specs

This commit is contained in:
Thibault Jouan
2014-10-09 20:05:31 +00:00
parent 7bdb778159
commit 58f3a7223e
7 changed files with 12 additions and 7 deletions

View File

@@ -2,7 +2,6 @@ module Producer::Core
shared_examples 'action' do
include TestEnvHelpers
let(:arguments) { [:some, :arguments] }
let(:options) { { foo: :bar } }
subject(:action) { described_class.new(env, *arguments, options) }