You also have to remember that it takes aproximately 24 hours for the metabolites to show up in your urine so doing anything the first 24 hours doesn't help much.
You could get lucky and it was poor quality weed and you didn't inhale much thc.
Its always important to be prepared for possible piss tests.