try to addapt rspec test