title: Rails: Cucumber + Capybara - How to add http method in visit ()
body: <p>I have this step definition:</p>
  
  <pre><code>Given /^I am not logged in$/ do
    visit '/users/sign_out'
  end
  </code></pre>
  
  <p>And <strong>rake routes</strong> gives me this:</p>
  
  <pre><code>destroy_user_session DELETE /users/sign_out(.:format)      devise/sessions#destroy
  </code></pre>
  
  <p>So.. How would I test this? Is there any way I can add the HTTP method in Capybara?</p>
  
  <p>I say this because I keep getting this error in my tests:</p>
  
  <pre><code> No route matches [GET] "/users/sign_out" (ActionController::RoutingError)
  </code></pre>