Fix RSpec/InferredSpecType cop (#24736)
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user