fix rspec warnings