I'm new to all of this. I have a script that behaves rather erratically.
I'm getting the following error...
NoMethodError: undefined method `innerText' for nil:NilClass
This refers to the following line in my code:
The weird thing is that there are other parts in this script where the
very some logic is used and it has no problems. So the results are
entirely inconsistent. My first test case I have set up with 4 very
similar assert_equal's passes with flying colors.
The script in its entirety is as follows. Do I need to include a require
& include for innerText at the beginning of my script? I'm using Ruby
1.8.7-p334. Any suggestions?