diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-04 18:44:27 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-04 18:44:27 +0300 |
commit | 984367f957c8f8d02fa82b08817e2f2f318c6bff (patch) | |
tree | 6f18804966e10c58473094c94cb8c2a0626d8065 /spec/workers/emails_on_push_worker_spec.rb | |
parent | 80671bf75cdac3f50615253b058fa04da6235a4f (diff) |
Move those builders to their own namespace, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13540099
Diffstat (limited to 'spec/workers/emails_on_push_worker_spec.rb')
-rw-r--r-- | spec/workers/emails_on_push_worker_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/workers/emails_on_push_worker_spec.rb b/spec/workers/emails_on_push_worker_spec.rb index 796751efe8d..1ecc594c311 100644 --- a/spec/workers/emails_on_push_worker_spec.rb +++ b/spec/workers/emails_on_push_worker_spec.rb @@ -5,7 +5,9 @@ describe EmailsOnPushWorker do let(:project) { create(:project) } let(:user) { create(:user) } - let(:data) { Gitlab::PushDataBuilder.build_sample(project, user) } + let(:data) do + Gitlab::DataBuilder::PushDataBuilder.build_sample(project, user) + end let(:recipients) { user.email } let(:perform) { subject.perform(project.id, recipients, data.stringify_keys) } |