rewrite outdated rspec matchers