Closed maxcal closed 10 years ago
Fixed two issues that make the controller and model authentication break tests using OmniAuth mocks. See https://github.com/intridea/omniauth/wiki/Integration-Testing
Closing this because if you mock properly, the existing code works.
Properly is this:
OmniAuth.config.mock_auth[:twitter] = OmniAuth::AuthHash.new({ :provider => 'twitter', :uid => '123545' })
Fixed two issues that make the controller and model authentication break tests using OmniAuth mocks. See https://github.com/intridea/omniauth/wiki/Integration-Testing