Accounts-password resetPassword method redirecting to sign in route only in test mode


#1

Hey all. We’re writing acceptance tests with gherkin and chimp. For some reason only when we run the acceptance tests, if we use the Accounts.resetPassword method, it always redirects us back to the sign in page. There’s nothing in our code that says to do this and it doesn’t happen outside of tests running. Has anyone seen this before? In test, we’re not sending the reset password email. We’ve created a user, and we’re manually loading up the database with a token and supporting info.

We’re using Meteor 1.6, accounts-password v1.5, and chimp 0.50.2. Any thoughts would be more than helpful. Thanks.