Add and apply RSpec/MetadataStyle rubocop rule
This rule was introduced in rubocop-rspec 2.24.0. We were applying it most of the time.
This commit is contained in:
@@ -564,6 +564,9 @@ RSpec/LetBeforeExamples:
|
||||
RSpec/LetSetup:
|
||||
Enabled: true
|
||||
|
||||
RSpec/MetadataStyle:
|
||||
Enabled: true
|
||||
|
||||
RSpec/NotToNot:
|
||||
Enabled: true
|
||||
|
||||
|
||||
@@ -63,7 +63,7 @@ RSpec.configure do |config|
|
||||
Capybara.default_set_options = { clear: :backspace }
|
||||
end
|
||||
|
||||
config.before(:each, type: :system, no_js: true) do
|
||||
config.before(:each, :no_js, type: :system) do
|
||||
driven_by :rack_test
|
||||
Capybara.default_set_options = {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user