Fix rspec test after bdd3513f03a1db060051a29ffcf535821235eac1