How did you "test it"? In iOS 6 the change of brightness is much slower than it was in iOS 5 ( more MacOS - like).
Press power button to put your phone to sleep , cover the light sensor next to the speaker with your thumb (you can cover entire top part of the phone), and wake you phone up, You will see that screen will be very very dim. No uncover it, and use your phone as you would . You will see after few seconds your screen will gain brightness.