Note that there are some explanatory texts on larger screens.

plurals
  1. PORoR Tutorial Chapter 9 Test Failing
    text
    copied!<p>I have been going through MHartl's tutorial and I have 5 persistent errors chapter 9, all relating to LayoutLinks. I have checked and rechecked and I do not see where my code differs from his, but running his code on my computer passes all of the tests.</p> <p>I have pasted an example of the error below, highlighting that it seems to be showing the root page (via "visit root_path") without being signed in even after going through the "factory(:user) -> fill_in info -> click_button" set of instructions. So somewhere in there, I think that I am either just losing the logged_in status or not registering at all.</p> <p>Any insight? Thanks very much. This is quite confounding. </p> <p>This is an example of the error:</p> <pre><code>LayoutLinks when signed in should have a signout link Failure/Error: response.should have_selector("a", :href =&gt; signout_path, expected following output to contain a &lt;a href='/signout'&gt;Sign Out&lt;/a&gt; tag: &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; ... ... &lt;li&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/help"&gt;Help&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/signin"&gt;Sign in&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt;&lt;/nav&gt;&lt;/header&gt;&lt;!-- &lt;header&gt; &lt;nav class="round"&gt; &lt;ul&gt; &lt;li&gt;&lt;a href="/"&gt;Home&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/help"&gt;Help&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a href="/signin"&gt;Sign In&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; ... </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload