in fact whole test should be written using regexp matcher - https://github.com/rspec/rspec-expectations#regular-expressions