I don't think testing something that raises Active Record not found is easy, eg https://www.ruby-forum.com/topic/214631