State machine 8 - rspec sample controller