Fix subject in trigger presenter tests

This commit is contained in:
Grzegorz Bizon 2019-01-03 10:54:05 +01:00 committed by Yorick Peterse
parent 9de03c616f
commit 47d3002218
No known key found for this signature in database
GPG key ID: EDD30D2BEB691AC9

View file

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