提交 c5a88df6 编写于 作者: R Robert Speicher

Require rubocop-rspec in the correct location

Resolves the `codeclimate` CI failure
上级 43e1481c
require 'rubocop-rspec'
module RuboCop
module Cop
module RSpec
......@@ -17,7 +19,7 @@ module RuboCop
# after(:each) do
# undo_something
# end
class SingleLineHook < RuboCop::Cop::RSpec::Cop
class SingleLineHook < Cop
MESSAGE = "Don't use single-line hook blocks.".freeze
def_node_search :rspec_hook?, <<~PATTERN
......
......@@ -2,7 +2,6 @@ require 'spec_helper'
require 'rubocop'
require 'rubocop/rspec/support'
require 'rubocop-rspec'
require_relative '../../../../rubocop/cop/rspec/single_line_hook'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册