Skip to content

Commit

Permalink
rubocop 0.88 + test-prof 0.11+ don't play nice together. This fixes that
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglass authored and palkan committed Jul 27, 2020
1 parent 63a106f commit 617b8bf
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/test_prof/cops/rspec/aggregate_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ module RSpec
# expect(number).to be_odd
# end
#
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
include LineRangeHelpers
include MetadataHelpers
include NodeMatchers
Expand Down
2 changes: 1 addition & 1 deletion lib/test_prof/cops/rspec/aggregate_examples/its.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module RuboCop
module Cop
module RSpec
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
# @example `its`
#
# # Supports regular `its` call with an attribute/method name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module RuboCop
module Cop
module RSpec
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
# @internal Support methods for keeping newlines around examples.
module LineRangeHelpers
include RangeHelp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module RuboCop
module Cop
module RSpec
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
# When aggregated, the expectations will fail when not supposed to or
# have a risk of not failing when expected to. One example is
# `validate_presence_of :comment` as it leaves an empty comment after
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
module RuboCop
module Cop
module RSpec
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
# @internal
# Support methods for example metadata.
# Examples with similar metadata are grouped.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
module RuboCop
module Cop
module RSpec
class AggregateExamples < Cop
class AggregateExamples < ::RuboCop::Cop::Cop
# @internal
# Node matchers and searchers.
module NodeMatchers
Expand Down

0 comments on commit 617b8bf

Please sign in to comment.