Fixed RSpec deprecation warnings for treating metadata symbol keys as true values. [ci skip]