title: capybara find show page link unable to find path
body: <p>I'm trying to test the presence of an image link which is a rails show page.</p>
  
  <pre><code>&lt;a href="/entries/1"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>I have tried few capybara but doesn't work. And I know the <code>id</code> is present.</p>
  
  <p>Steps code</p>
  
  <pre><code>find_link('/entries/#{@photo_upload_entry.id}').visible?
  
  find_link('/entries/1').visible?
  
  expect(page).to have_link("/entries/#{@photo_upload_entry.id}")
  
  expect(page).to have_link("/entries/1")
  </code></pre>
  
  <p>Error from cucumber test</p>
  
  <pre><code>Unable to find link "/entries/\#{@photo_upload_entry.id" (Capybara::ElementNotFound)
  
  Unable to find link "/entries/1" (Capybara::ElementNotFound)
  
  expected to find link "/entries/1" but there were no matches (RSpec::Expectations::ExpectationNotMetError)
  
  expected to find link "/entries/1" but there were no matches (RSpec::Expectations::ExpectationNotMetError)
  </code></pre>