Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rails runner "ApplicationController.allow_forgery_protection = false; s = ActionDispatch::Integration::Session.new(Rails.application); s.post('/login', user: {login: 'admin', password: 'password'}); s.get('/my'); puts s.response.body"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement