diff --git a/Gemfile b/Gemfile index cfb318778..1db6966f0 100644 --- a/Gemfile +++ b/Gemfile @@ -10,7 +10,7 @@ gem 'bump', require: false gem 'rake' gem 'rspec' gem 'rubocop', github: 'rubocop/rubocop' -gem 'rubocop-rspec', '~> 2.25.0' +gem 'rubocop-rspec', '~> 2.26.0' gem 'simplecov' gem 'test-queue' gem 'yard', '~> 0.9' diff --git a/spec/project_spec.rb b/spec/project_spec.rb index a967b1e9f..342f226fd 100644 --- a/spec/project_spec.rb +++ b/spec/project_spec.rb @@ -258,7 +258,7 @@ dir = File.expand_path('../changelog', __dir__) - it 'will not have a directory' do + it 'does not have a directory' do expect(Dir["#{dir}/*"].none? { |path| File.directory?(path) }).to be(true) end diff --git a/spec/rubocop/cop/performance/count_spec.rb b/spec/rubocop/cop/performance/count_spec.rb index 2e6bf293b..950f9f6a4 100644 --- a/spec/rubocop/cop/performance/count_spec.rb +++ b/spec/rubocop/cop/performance/count_spec.rb @@ -182,11 +182,11 @@ def count(&block) end context 'properly parses non related code' do - it 'will not raise an error for Bundler.setup' do + it 'does not raise an error for Bundler.setup' do expect { inspect_source('Bundler.setup(:default, :development)') }.not_to raise_error end - it 'will not raise an error for RakeTask.new' do + it 'does not raise an error for RakeTask.new' do expect { inspect_source('RakeTask.new(:spec)') }.not_to raise_error end end