Alexey's blog

omniauth

OmniAuth-github acceptance testing

2 minute read Published: 2015-01-05

I was struggling with testing my toy app. In particular writing a feature spec that tests signing in with Github using Capybara and RSpec. I kept getting errors and couldn't figure out how to set up my test suite for this properly. So after spending the past two days googling helplessly I've finally accumulated enough information to piece it all together. It turned out to be a rather simple fix but I still decided to write it down. I'll provide the links to the posts I've found and write a summary of my thought process.