title: Devise helpers are not available in cucumber step definitions
body: <p>I'm using cucumber to test my rails 3.1 application and i'm using devise for authentication.
  I need to test if current user email is the same with the one used during authorization.
  The problem is that devise helpers are not available in cucumber step definition.</p>
  
  <p>Is there any solution to make devise helpers available in cucumber step definitions?</p>
  
  <p>i tried this: </p>
  
  <pre><code>Cucumber::Rails::World.send('define_method', 'current_user') do
      @current_user ||= (session[:user] &amp;&amp; User.find(session[:user])) || :false
  end
  </code></pre>
  
  <p>but that didn't help.</p>