codegram/spinach — Issue #53: how to use route helpers?
Author: derickbailey
Created: 2011-10-23 12:23:39+00:00
State: open

Hi,

I'm trying out spinach for the first time, having used Cucumber for the last year. Loving it so far, but ran into a question: how do I get access to my route helper methods within a spinach class?

```
Given 'I am a visitor' do
visit destroy_user_session_path
end
```

`destroy_user_session_path` is a valid route path, but this comes back with a `no method` error. I'm sure I'm missing something in my config, but I don't know what.