We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e3c62f commit 57c2fd4Copy full SHA for 57c2fd4
spec/rubocop/cop/rails/dynamic_find_by_spec.rb
@@ -146,7 +146,7 @@
146
expect_no_offenses('Post.find_by_title_and_id("foo", limit: 1)')
147
end
148
149
- it 'accepts method in whitelist' do
+ it 'accepts method in allowed list' do
150
expect_no_offenses(<<~RUBY)
151
User.find_by_sql(["select * from users where name = ?", name])
152
RUBY
@@ -201,7 +201,7 @@ def do_something
201
{ 'AllowedReceivers' => %w[Gem::Specification] }
202
203
204
- it 'accepts dynamic find_by for receiver names in whitelist' do
+ it 'accepts dynamic find_by for receiver names in allowed list' do
205
206
Gem::Specification.find_by_name("backend").gem_dir
207
0 commit comments