Skip to content

Commit

Permalink
Turn on forgery protection/authenticity token checking in acceptance …
Browse files Browse the repository at this point in the history
…tests :P
  • Loading branch information
carols10cents committed Sep 7, 2012
1 parent b6527ba commit 5f78829
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/acceptance/acceptance_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module AcceptanceHelper
include ShowMeTheCookies

OmniAuth.config.test_mode = true
ActionController::Base.allow_forgery_protection = true

if ENV["ENABLE_HTTPS"] == "yes"
Capybara.app_host = 'https://www.example.com'
Expand Down

0 comments on commit 5f78829

Please sign in to comment.