summaryrefslogtreecommitdiff
path: root/spec/models/project_services/jira_service_spec.rb
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-11-03 22:05:31 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-11-03 22:05:31 +0800
commitc493f285c0d113bc6a880e666e83572eaf8f9403 (patch)
treef52548191666c5b93dd9132cdb9c7cc7c08455fc /spec/models/project_services/jira_service_spec.rb
parentca1096e77f1f44089cd8e37e2fe7fa392571542f (diff)
downloadgitlab-ce-c493f285c0d113bc6a880e666e83572eaf8f9403.tar.gz
Try not to include anything globally!
Diffstat (limited to 'spec/models/project_services/jira_service_spec.rb')
-rw-r--r--spec/models/project_services/jira_service_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/models/project_services/jira_service_spec.rb b/spec/models/project_services/jira_service_spec.rb
index a3e9adae4e2..fd9abc09c57 100644
--- a/spec/models/project_services/jira_service_spec.rb
+++ b/spec/models/project_services/jira_service_spec.rb
@@ -1,7 +1,8 @@
require 'spec_helper'
-include Gitlab::Routing.url_helpers
describe JiraService, models: true do
+ include Gitlab::Routing.url_helpers
+
describe "Associations" do
it { is_expected.to belong_to :project }
it { is_expected.to have_one :service_hook }