RUBY-652 RUBY-653 updating specs to use allow instead of stub