Fix RSpec/InferredSpecType cop (#24736)

This commit is contained in:
Matt Jankowski 2023-05-03 23:49:53 -04:00 committed by GitHub
parent 710745e16b
commit c97b611b6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
171 changed files with 170 additions and 345 deletions

View file

@ -2,7 +2,7 @@
require 'rails_helper'
RSpec.describe HomeHelper, type: :helper do
RSpec.describe HomeHelper do
describe 'default_props' do
it 'returns default properties according to the context' do
expect(helper.default_props).to eq locale: I18n.locale