# require 'rails_helper'

# RSpec.describe OmniauthCallbacksController, type: :controller do

#   before do
#     set_omniauth
#     request.env["devise.mapping"] = Devise.mappings[:user]
#     request.env["omniauth.auth"] = OmniAuth.config.mock_auth[:twitter]
#   end

#   describe "GET #twitter" do
#     it "returns http success" do
#       ap request.env["omniauth.auth"]
#       get :twitter
#       expect(response).to have_http_status(:success)
#     end
#   end


# end
