fix rspec3 incompatibility