Fix random test failure.

This commit is contained in:
Guo Xiang Tan 2017-05-09 11:26:24 +08:00
parent 84e9ecda71
commit 55d3547540
1 changed files with 1 additions and 0 deletions

View File

@ -8,6 +8,7 @@ RSpec.describe "OmniAuth Callbacks" do
end
after do
Rails.application.env_config["omniauth.auth"] = OmniAuth.config.mock_auth[:google_oauth2] = nil
OmniAuth.config.test_mode = false
end