Skip to content

Commit 0c3bf1e

Browse files
committed
Bump RuboCop RSpec to 2.5
1 parent 7570fb6 commit 0c3bf1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ gem 'rake'
1111
gem 'rspec'
1212
gem 'rubocop', github: 'rubocop/rubocop'
1313
gem 'rubocop-performance', '~> 1.11.0'
14-
gem 'rubocop-rspec', '~> 2.4.0'
14+
gem 'rubocop-rspec', '~> 2.5.0'
1515
gem 'simplecov'
1616
gem 'test-queue'
1717
gem 'yard', '~> 0.9'

spec/rubocop/cop/rails/assert_not_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
RUBY
5757
end
5858

59-
it 'does not register an offense when using `assert_not` ' do
59+
it 'does not register an offense when using `assert_not`' do
6060
expect_no_offenses(<<~RUBY)
6161
assert_not foo
6262
RUBY

spec/rubocop/cop/rails/presence_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
RUBY
159159
end
160160

161-
it 'does not register an offense when if or unless modifier is used ' do
161+
it 'does not register an offense when if or unless modifier is used' do
162162
[
163163
'a if a.blank?',
164164
'a unless a.present?'

0 commit comments

Comments
 (0)