Fix: deprecated warnings with shoulda-matchers

Used assert_not_nil assigns instead of assert assign_to