Try not to include anything globally!

This commit is contained in:
Lin Jen-Shin 2016-11-03 22:05:31 +08:00
parent ca1096e77f
commit c493f285c0
1 changed files with 2 additions and 1 deletions

View File

@ -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 }