Fix compatibility with recent RSpec.

RSpec now checks stub call order.

BTW, I am going to add this patch into Fedora package.