diff --git a/.rubocop.yml b/.rubocop.yml index ae8c8da..1c40e3d 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -103,7 +103,7 @@ RSpec/DescribeClass: Exclude: - spec/project/**/*.rb -RSpec/FilePath: +RSpec/SpecFilePathFormat: Exclude: - spec/rubocop/cop/capybara/mixin/**/*.rb @@ -172,64 +172,3 @@ Performance/StringInclude: Enabled: true Performance/Sum: Enabled: true - -# Enable pending rubocop-rspec cops. - -RSpec/BeEmpty: - Enabled: true -RSpec/BeEq: - Enabled: true -RSpec/BeNil: - Enabled: true -RSpec/ChangeByZero: - Enabled: true -RSpec/ClassCheck: - Enabled: true -RSpec/ContainExactly: - Enabled: true -RSpec/DuplicatedMetadata: - Enabled: true -RSpec/EmptyMetadata: - Enabled: true -RSpec/EmptyOutput: - Enabled: true -RSpec/Eq: - Enabled: true -RSpec/ExcessiveDocstringSpacing: - Enabled: true -RSpec/IdenticalEqualityAssertion: - Enabled: true -RSpec/IndexedLet: - Enabled: true -RSpec/IsExpectedSpecify: - Enabled: true -RSpec/MatchArray: - Enabled: true -RSpec/MetadataStyle: - Enabled: true -RSpec/NoExpectationExample: - Enabled: true -RSpec/PendingWithoutReason: - Enabled: true -RSpec/ReceiveMessages: - Enabled: true -RSpec/RedundantAround: - Enabled: true -RSpec/RedundantPredicateMatcher: - Enabled: true -RSpec/RemoveConst: - Enabled: true -RSpec/RepeatedSubjectCall: - Enabled: true -RSpec/SkipBlockInsideExample: - Enabled: true -RSpec/SortMetadata: - Enabled: true -RSpec/SpecFilePathSuffix: - Enabled: true -RSpec/SubjectDeclaration: - Enabled: true -RSpec/UndescriptiveLiteralsDescription: - Enabled: true -RSpec/VerifiedDoubleReference: - Enabled: true diff --git a/Gemfile b/Gemfile index af66d39..493b919 100644 --- a/Gemfile +++ b/Gemfile @@ -11,7 +11,7 @@ gem 'rake' gem 'rspec', '~> 3.11' gem 'rubocop-performance', '~> 1.7' gem 'rubocop-rake', '~> 0.6' -gem 'rubocop-rspec', '~> 2.26' +gem 'rubocop-rspec', '~> 3.0' gem 'simplecov', '>= 0.19' gem 'yard'