From 47d3002218bf7a065cf417ce701ff63be1b8b773 Mon Sep 17 00:00:00 2001 From: Grzegorz Bizon Date: Thu, 3 Jan 2019 10:54:05 +0100 Subject: [PATCH] Fix subject in trigger presenter tests --- spec/presenters/ci/trigger_presenter_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/presenters/ci/trigger_presenter_spec.rb b/spec/presenters/ci/trigger_presenter_spec.rb index a589759f379..231b539c188 100644 --- a/spec/presenters/ci/trigger_presenter_spec.rb +++ b/spec/presenters/ci/trigger_presenter_spec.rb @@ -8,7 +8,7 @@ describe Ci::TriggerPresenter do create(:ci_trigger, token: '123456789abcd', project: project) end - let(:subject) do + subject do described_class.new(trigger, current_user: user) end