I had an old fluorescent light with an outlet above my medicine cabinet. I replaced it but I had to put a rework box for the outlet. I got the light wired and working and have a question about wiring the outlet with I ran with 14/2 to the box where the light is mounted.
I tested the wires with an ac tester. One wire is hot{brown}when the switch is up and I have the neutral {white} that goes with it. The light works just fine when the switch is turned to on. There is one other wire that is hot all the time. I turned on the power and checked each wire to ground. One was not hot(brown} when the switch was down and I know the other has no current because while checking that wire to ground it had no current. What gets me is the other wire that is hot all the time is white. The other white wire is neutral.
When I wire the outlet would the black go to the Hot white and white to the neutral white. The ground from the 14/2 is on GFCI outlet but there is no ground in the box what would I do with that one to ground it.
Also when I pulled the switch cover I noticed they just stripped a portion off a wire(black) just enough to mount to the switch and then just continued on up another conduit. Is that still exceptable with today's wiring standards. The brown wire was there also on the switch by the black. I know the way they had the fixture up before did not meet code but back then in the 50's it must have been OK. Is more info needed?