Changings asserts to rspec matchers