fixing rspec test