diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-25 15:04:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-25 15:04:30 +0300 |
commit | 67370c8b72013a75705265605517a40daf69fc33 (patch) | |
tree | 5a54d854073bd1e413f21d76141e09a0a41f7630 /spec/rubocop/cop/active_record_association_reload_spec.rb | |
parent | 185d9acf520cc806840e8ba6c83deb1ec4817e0f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/rubocop/cop/active_record_association_reload_spec.rb')
-rw-r--r-- | spec/rubocop/cop/active_record_association_reload_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rubocop/cop/active_record_association_reload_spec.rb b/spec/rubocop/cop/active_record_association_reload_spec.rb index 79053a79c5a..e8d46064b49 100644 --- a/spec/rubocop/cop/active_record_association_reload_spec.rb +++ b/spec/rubocop/cop/active_record_association_reload_spec.rb @@ -15,7 +15,7 @@ RSpec.describe RuboCop::Cop::ActiveRecordAssociationReload, type: :rubocop do users = User.all users.reload ^^^^^^ Use reset instead of reload. For more details check the https://gitlab.com/gitlab-org/gitlab-foss/issues/60218. - PATTERN + PATTERN end it 'does not register an offense on reset usage' do |