Skip to content

Commit

Permalink
Merge pull request #1443 from 18F/margolis-temp-disable-rack-attack
Browse files Browse the repository at this point in the history
Temporarily disable rack-attack
  • Loading branch information
zachmargolis authored May 19, 2017
2 parents 6b329a8 + fb6f06f commit 59fe7fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Application < Rails::Application
config.autoload_paths << Rails.root.join('app', 'mailers', 'concerns')
config.time_zone = 'UTC'

config.middleware.use Rack::Attack unless Figaro.env.disable_email_sending == 'true'
# config.middleware.use Rack::Attack unless Figaro.env.disable_email_sending == 'true'

config.browserify_rails.force = true
config.browserify_rails.commandline_options = '-t [ babelify --presets [ es2015 ] ]'
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/rack_attack_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'rails_helper'

describe 'throttling requests' do
xdescribe 'throttling requests' do
include Rack::Test::Methods

def app
Expand Down

0 comments on commit 59fe7fd

Please sign in to comment.