From 9203a5abb8188a6d6a4cc2bf3d968fa5f0a99acd Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Wed, 14 Jun 2017 15:20:21 -0700 Subject: Make spec/spec_helper consistent with EE by including a :routing type --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a81d3573f8d..01ac3cbd3f6 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -56,6 +56,7 @@ RSpec.configure do |config| config.include StubGitlabCalls config.include StubGitlabData config.include ApiHelpers, :api + config.include Rails.application.routes.url_helpers, type: :routing config.include MigrationsHelpers, :migration config.infer_spec_type_from_file_location! -- cgit v1.2.1