Skip to content

Commit

Permalink
Fix RSpec/ExampleWording warning using auto-correct
Browse files Browse the repository at this point in the history
  • Loading branch information
m-nakamura145 committed Feb 3, 2024
1 parent 982e2fb commit aea344d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
{ required: false, default_value: nil }
end

it 'will not warn' do
it 'does not warn' do
expect { subject }.not_to output(
/is optional but default value is not specified/
).to_stderr
Expand All @@ -130,7 +130,7 @@
{ required: false, default_value: 123 }
end

it 'will not warn' do
it 'does not warn' do
expect { subject }.not_to output(
/is optional but default value is not specified/
).to_stderr
Expand Down

0 comments on commit aea344d

Please sign in to comment.