Fix issue accessing metada using deprecated rspec3 method