Skip to content

Instantly share code, notes, and snippets.

View sergey-pt's full-sized avatar
🏄‍♂️

Sergey sergey-pt

🏄‍♂️
View GitHub Profile
@sergey-pt
sergey-pt / circleci-heroku-continuous-deployment2.0.md
Created March 25, 2019 21:58 — forked from lauraturk/circleci-heroku-continuous-deployment2.0.md
instructions for deploying from circleci2.0 to heroku
@sergey-pt
sergey-pt / gist:73f343c5d0139ae527a4fd0800428203
Created May 23, 2018 13:41 — forked from mattconnolly/gist:4158961
RSpec basic authentication helper module for request and controller specs
module AuthHelper
def http_login
user = 'username'
pw = 'password'
request.env['HTTP_AUTHORIZATION'] = ActionController::HttpAuthentication::Basic.encode_credentials(user,pw)
end
end
module AuthRequestHelper
#