Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-08 11:54:40 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-10-08 11:54:40 +0400
commit3d51147de18b7e1725ace4be52f9a4fd684e4f35 (patch)
treee53f9637191dc52537195acb80cf1a07fdfcfb73 /spec/services/system_hooks_service_spec.rb
parent07437ac3d436d427e4e8554f685f09a17d31e171 (diff)
Add user_id to system hook when new user created
Diffstat (limited to 'spec/services/system_hooks_service_spec.rb')
-rw-r--r--spec/services/system_hooks_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/system_hooks_service_spec.rb b/spec/services/system_hooks_service_spec.rb
index 7f1590f559e..fb52b216cb4 100644
--- a/spec/services/system_hooks_service_spec.rb
+++ b/spec/services/system_hooks_service_spec.rb
@@ -7,7 +7,7 @@ describe SystemHooksService do
context 'it should build event data' do
it 'should build event data for user' do
- SystemHooksService.build_event_data(user, :create).should include(:event_name, :name, :created_at, :email)
+ SystemHooksService.build_event_data(user, :create).should include(:event_name, :name, :created_at, :email, :user_id)
end
it 'should build event data for project' do