Correct blocklist name
WIP
This commit is contained in:
parent
881e42cc0b
commit
a5903d9daf
3 changed files with 4 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
Rails.application.configure do
|
||||
Commitchange::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
# test suite. You never need to work with it otherwise. Remember that
|
||||
# your test database is "scratch space" for the test suite and is wiped
|
||||
# and recreated between test runs. Don't rely on the data there!
|
||||
config.cache_classes = true
|
||||
config.cache_classes = false
|
||||
|
||||
# Do not eager load code on boot. This avoids loading your whole application
|
||||
# just for the purpose of running a single test. If you are using a tool that
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later
|
||||
Rack::Attack.blacklist('block charge abusers') do |req|
|
||||
Rack::Attack.blocklist('block charge abusers') do |req|
|
||||
['54.159.242.229',
|
||||
'54.161.246.233',
|
||||
'54.211.94.199'
|
||||
|
|
|
@ -15,7 +15,7 @@ describe EventsController, :type => :controller do
|
|||
include_context :open_to_event_editor, :post, :duplicate, nonprofit_id: :__our_np, id: :__our_event
|
||||
end
|
||||
describe 'soft_delete' do
|
||||
include_context :open_to_event_editor, :delete, :soft_delete, nonprofit_id: :__our_np, id: :__our_event
|
||||
include_context :open_to_event_editor, :delete, :soft_delete, nonprofit_id: :__our_np, event_id: :__our_event
|
||||
end
|
||||
describe 'stats' do
|
||||
include_context :open_to_event_editor, :get, :stats, nonprofit_id: :__our_np, id: :__our_event
|
||||
|
|
Loading…
Reference in a new issue