Fix JIRA service tests

This commit is contained in:
Dmitriy Zaporozhets
2015-01-14 15:37:22 -08:00
parent 201067789a
commit f9065eb7d4
+1 -1
View File
@@ -42,7 +42,7 @@ describe JiraService, models: true do
password: 'gitlab_jira_password',
api_version: '2'
)
@sample_data = GitPushService.new.sample_data(project, user)
@sample_data = Gitlab::PushDataBuilder.build_sample(project, user)
# https://github.com/bblimke/webmock#request-with-basic-authentication
@api_url = 'http://gitlab_jira_username:gitlab_jira_password@jira.example.com/rest/api/2/issue/JIRA-123/transitions'