Skip to content

Commit

Permalink
Change potentially offensive terminology
Browse files Browse the repository at this point in the history
I think the few places we use the term "whitelist", we really don't need
to. Changing to use "allowed" etc. instead.

RuboCop did similar changes in
rubocop/rubocop#7469.
  • Loading branch information
bquorning committed Nov 5, 2019
1 parent 59d2b79 commit fbfbd50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/rubocop/cop/rspec_rails/http_status_spec.rb
Expand Up @@ -60,7 +60,7 @@
RUBY
end

it 'does not register an offense when using whitelisted symbols' do
it 'does not register an offense when using allowed symbols' do
expect_no_offenses(<<-RUBY)
it { is_expected.to have_http_status :error }
it { is_expected.to have_http_status :success }
Expand Down

0 comments on commit fbfbd50

Please sign in to comment.