From aea344d9d9309fe883c395deaea8732afca20b8f Mon Sep 17 00:00:00 2001 From: m-nakamura145 Date: Sat, 3 Feb 2024 22:02:12 +0900 Subject: [PATCH] Fix RSpec/ExampleWording warning using auto-correct --- .../generator/swagger/param_description/builder_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb b/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb index 09175fbd..db7479df 100644 --- a/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb +++ b/spec/lib/apipie/generator/swagger/param_description/builder_spec.rb @@ -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 @@ -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