title: Figuring out named resources/paths in rails 3
body: <p>I am new to rails and I am writing some tests using Capybara and cucumber. </p>
  
  <pre><code>Scenario: Successful login
    Given a user "admin@adm.com" with password "admin123"
    And I am on the sign in page
  
  Given /^I am on the sign in page$/ do |page_name|
    visit('/users/sign_in')
    save_and_open_page
  end
  </code></pre>
  
  <p>I am having trouble figuring out a way to write a named path instead of the '/users/sign_in' url. </p>
  
  <p>How can I figure it out? </p>