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:
authorLin Jen-Shin <godfat@godfat.org>2016-08-12 11:09:29 +0300
committerLin Jen-Shin <godfat@godfat.org>2016-08-12 11:09:29 +0300
commitd5264e8804bca70e613c418a9d346f5787c6fc7a (patch)
tree85097c38c14d79172af6f85628086d0c35b00cd9 /spec/models/project_services/gemnasium_service_spec.rb
parent0a20897bbee538761352595e8f632c747b6d1b35 (diff)
Simplify the name for data builder, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
Diffstat (limited to 'spec/models/project_services/gemnasium_service_spec.rb')
-rw-r--r--spec/models/project_services/gemnasium_service_spec.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/models/project_services/gemnasium_service_spec.rb b/spec/models/project_services/gemnasium_service_spec.rb
index 5940e44e57d..3d0b6c9816b 100644
--- a/spec/models/project_services/gemnasium_service_spec.rb
+++ b/spec/models/project_services/gemnasium_service_spec.rb
@@ -55,8 +55,7 @@ describe GemnasiumService, models: true do
token: 'verySecret',
api_key: 'GemnasiumUserApiKey'
)
- @sample_data = Gitlab::DataBuilder::PushDataBuilder.
- build_sample(project, user)
+ @sample_data = Gitlab::DataBuilder::Push.build_sample(project, user)
end
it "calls Gemnasium service" do
expect(Gemnasium::GitlabService).to receive(:execute).with(an_instance_of(Hash)).once