title: Why do I continue to get this error despite the fact that I added the link_to "Sign In"?
body: <p>Doing some BDD for my Ruby on Rails project and Guard continues to give me this message:</p>
  
  <pre><code>Users sign-in with valid credentials Failure/Error: click_link "Sign in" Capybara::ElementNotFound: Unable to find link "Sign in"
  </code></pre>
  
  <p>In spite of the fact that I have added "Sign In", take a look at the code here:</p>
  
  <p>This is partial code from my app/views/devise/layouts/application.html.erb:</p>
  
  <pre><code>&lt;nav class="navbar navbar-default navbar-fixed-top"     role="navigation"&gt;
          &lt;div class="container-fluid"&gt;
                  &lt;div class="navbar-header"&gt;
                  &lt;button type="button"     class="navbar-toggle" data-toggle="collapse" data-    target="#bs-example-navbar-collapse-1"&gt;
                      &lt;span class="icon-bar"&gt;    &lt;/span&gt;
                      &lt;span class="icon-bar"&gt;    &lt;/span&gt;
                      &lt;span class="icon-bar"&gt;    &lt;/span&gt;
                  &lt;/button&gt;
                  &lt;%= link_to "Blog App",     root_path, class: "navbar-brand" %&gt;
              &lt;/div&gt;
              &lt;div class="navbar-collapsecollapse" id="bs-example-navbar-collapse-1"&gt;
                  &lt;ul class="nav navbar-nav"&gt;
                      &lt;li class="active"&gt;&lt;%= link_to "Authors", "#" %&gt;&lt;/li&gt;
                      &lt;% if user_signed_in? %&gt;
                          &lt;div class="navbar-right"&gt;
                              &lt;p class="navbar-text"&gt;Signed in as &lt;%= "#{current_user.email}" %&gt;&lt;/p&gt;
                          &lt;/div&gt;
                      &lt;% end %&gt;
                      &lt;li&gt;&lt;%= link_to "Sign Up", new_user_registration_path %&gt;&lt;/li&gt;
                      &lt;li&gt;&lt;%= link_to "Sign In", new_user_session_path %&gt;&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/nav&gt;
  </code></pre>