I’m building an app, using Devise, and adding specs for new features. However, I am unable to get signed in when writing a feature spec: Rspec can’t sign in; running in the browser works fine. I also have HTTP authentication on the site and have created some auth helpers for this and other applications. Pastie here.
This is the first time I’ve tried to create a feature spec in this app; the TDD workshop and integration tests convinced me this would be a Good Thing To Do.
I’m using Rails 3.2.13, RSpec 2.13.0, Capybara 2.1.0.
Actually, this is just the latest symptom of a more general problem I’ve run into: figuring out what can be done in which type of spec (integration, request, feature,…) and which version of which gem to use can be crazy-making.