title: How to fix Capybara/Cucumber running outdated code?
body: <p>I'm testing a feature using Cucumber and Capybara (with poltergeist/phantomjs). The problem is that changes that I make to my code are not being reflected in the tests. My tests are failing because I changed the name of a link, if I take a screenshot of the page on the test I can see that it still shows the old link, but if I navigate to the page on my browser, it shows the correct one. I have been trying to solve this since yesterday with no luck. I don't even know which code would be relevant to paste here, has anyone had this problem or has any idea of what this could be?</p>
  
  <p>Thank you!</p>
  
  <hr>
  
  <h2>UPDATE</h2>
  
  <p>I was able to fix this by running <code>rails generate cucumber:install</code> again. Doing this updated the page on the test. But then I modified the page again and once more it's outdated on the test, running the <code>cucumber:install</code> command is not helping anymore either.</p>