Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-25 15:04:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-25 15:04:30 +0300
commit67370c8b72013a75705265605517a40daf69fc33 (patch)
tree5a54d854073bd1e413f21d76141e09a0a41f7630 /spec/rubocop/cop/active_record_association_reload_spec.rb
parent185d9acf520cc806840e8ba6c83deb1ec4817e0f (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.rb2
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