Commit 7161aac3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix push even creation in groups/analytics_controller_spec.rb

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 42ce775d
...@@ -21,8 +21,7 @@ describe Groups::AnalyticsController do ...@@ -21,8 +21,7 @@ describe Groups::AnalyticsController do
def create_push_event(author, project) def create_push_event(author, project)
event = create_event(author, project, nil, Event::PUSHED) event = create_event(author, project, nil, Event::PUSHED)
event.data = push_data PushEventPayloadService.new(event, push_data).execute
event.save
end end
before do before do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment