Open surzycki opened 12 years ago
You must know that Omniauth use Rack middleware and in test environment Rails using Fake Rack which doesn't have some functionality, maybe it is problem.
It's interesting for me too
Same problem here. Commenting out OmniAuth.config.test_mode = true
fixed it for me - although I haven't looked into why yet.
FWIW, setting OmniAuth.config.test_mode = false
fixed it for me too.
test 'Visitor can sign up with a username and password' do
OmniAuth.config.test_mode = false
# ...test here...
OmniAuth.config.test_mode = true
end
OmniAuth.config.test_mode = false #works for me too. Thanks guys!
Will leave this open until I can document this, or determine if it is still the case.
With an integration test that looks like
The POST path '/auth/identity/register' is not found by Capybara