rspec with correct input