Update events spec
This commit is contained in:
parent
21bc038b8d
commit
08cf6fccfd
|
@ -7,7 +7,7 @@ describe 'cycle analytics events' do
|
|||
let!(:context) { create(:issue, project: project, created_at: 2.days.ago) }
|
||||
|
||||
let(:events) do
|
||||
CycleAnalytics.new(project, { from: from_date, current_user: user })[stage].events
|
||||
CycleAnalytics::ProjectLevel.new(project: project, options: { from: from_date, current_user: user })[stage].events
|
||||
end
|
||||
|
||||
before do
|
||||
|
|
Loading…
Reference in New Issue