def create
provider = session['devise.oauth_data']['provider']
uid = session['devise.oauth_data']['uid']
. . .
end
describe 'POST #create' do
before do
session["devise.oauth_data"] = {provider: 'twitter', uid: '123456'}
end
. . .
end