Commit 39bbdc4f authored by Douwe Maan's avatar Douwe Maan

Merge branch 'rs-fix-codeclimate-build' into 'master'

Require rubocop-rspec in the correct location

See merge request !12174
parents c953314a c5a88df6
No related merge requests found
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment