Fix: deprecated warnings with shoulda-matchers

Used assert instead of respond_with_content_type