I’ve just added the test on p162. When I run
rails test, EVERY test fails with either
ActionView::Template::Error: couldn't find file 'jquery-ui' with type 'text/css'
The site still works fine in the browser, but now all the tests are broken.
I’m running Rails 5.1.2.
What could be going wrong here? The includes I’m using in the various manifests are:
//= require rails-ujs //= require turbolinks //= require jquery //= require jquery-ui //= require_tree .
*= require jquery-ui *= require_tree . *= require_self
(Incidentally, the Markdown help is wrong — it says to use three ~ characters to delineate a code block, but it’s actually three ` characters. And it doesn’t render newlines in code blocks, making it pretty pointless :)