fix rspec test