Fix treating execution_result as a hash, what is deprecated in rspec3