I took it and passed with only my 2011 NEC in hand. You should be OK if you study your code book and can pass a standard JW exam. I don't recall any specific questions related to building code. If you look at the ICC criteria, I believe it shows only the NEC as the referenced material for the exam.
Good luck on your exam!