Skip to content

Commit 617b8bf

Browse files
michaelglasspalkan
authored andcommitted
rubocop 0.88 + test-prof 0.11+ don't play nice together. This fixes that
1 parent 63a106f commit 617b8bf

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

lib/test_prof/cops/rspec/aggregate_examples.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module RSpec
108108
# expect(number).to be_odd
109109
# end
110110
#
111-
class AggregateExamples < Cop
111+
class AggregateExamples < ::RuboCop::Cop::Cop
112112
include LineRangeHelpers
113113
include MetadataHelpers
114114
include NodeMatchers

lib/test_prof/cops/rspec/aggregate_examples/its.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
class AggregateExamples < Cop
6+
class AggregateExamples < ::RuboCop::Cop::Cop
77
# @example `its`
88
#
99
# # Supports regular `its` call with an attribute/method name,

lib/test_prof/cops/rspec/aggregate_examples/line_range_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
class AggregateExamples < Cop
6+
class AggregateExamples < ::RuboCop::Cop::Cop
77
# @internal Support methods for keeping newlines around examples.
88
module LineRangeHelpers
99
include RangeHelp

lib/test_prof/cops/rspec/aggregate_examples/matchers_with_side_effects.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RuboCop
66
module Cop
77
module RSpec
8-
class AggregateExamples < Cop
8+
class AggregateExamples < ::RuboCop::Cop::Cop
99
# When aggregated, the expectations will fail when not supposed to or
1010
# have a risk of not failing when expected to. One example is
1111
# `validate_presence_of :comment` as it leaves an empty comment after

lib/test_prof/cops/rspec/aggregate_examples/metadata_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module RuboCop
44
module Cop
55
module RSpec
6-
class AggregateExamples < Cop
6+
class AggregateExamples < ::RuboCop::Cop::Cop
77
# @internal
88
# Support methods for example metadata.
99
# Examples with similar metadata are grouped.

lib/test_prof/cops/rspec/aggregate_examples/node_matchers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module RuboCop
66
module Cop
77
module RSpec
8-
class AggregateExamples < Cop
8+
class AggregateExamples < ::RuboCop::Cop::Cop
99
# @internal
1010
# Node matchers and searchers.
1111
module NodeMatchers

0 commit comments

Comments
 (0)