These are included already in RSpec expectations:

You can use `be_kind_of(String)`, `be_a_kind_of(String)`, or `be_a(String)` to do the same thing.

https://www.relishapp.com/rspec/rspec-expectations/v/2-0/docs/matchers/type-check-matchers