This should read:

~~~
having_one_of_non_existent_class(:detail)
~~~

Applies to the next test as well.