It is different for everyone, based on conditions that others have cited.
However, I believe that IF you really do not smoke, and your only toke session happened two weeks ago, then you should be totally fine.
Masking agents do not work. Detox drinks do not work. Dilution (by drinking tons of water over a few days time) sometimes work but can hurt your kidneys if you’re not careful.
Your options are to move to WA or CO where it is now legal, or don’t smoke with a test coming up.
Remember also, that urine tests have two steps. The first step is a basic test much like the home drug tests you might take. If that’s negative, it won’t go through much scrutiny. If it’s positive or not a clear negative, (or sometimes purely at random), your sample will go through a gas chromatograph, and they will measure the exact amount of cannabanoids in your sample.
And at that point, they look to see if the amount falls in between a range from, say, 5 nanograms to 45 nanograms, or whatever. (And five is pretty damn low). So let’s say you’re only at 2 or 3. That’s not enough to get into that range, so it’ll be a negative result.