I'm trying to use JSpec with IE8. All works fine before I try to use
the 'parent' variable.
Here's the spec.
describe 'Test'
it 'should be ok'
ok = 'ok!'
ok.should.eql('ok!')
end
end
#=> OK!
describe 'Test'
it 'should be ok'
parent = 'ok!'
parent.should.eql('ok!')
end
end
#=> OK! in FF and others, but IE8 returns an error: 'Error: it doesn't
support'.
If I try to use before hooks the situation becomes more interesting.
describe 'Test'
before
parent = 'ok!'
end
it 'should be ok'
parent.should.eql('ok!')
end
end
#=> IE8 returns an error: 'string: 1313 (look at the number!)
exception was thrown but wasn't catched'.
What is the magic word 'parent' and why IE8 behave so strange when I'm
using this word? Are there other words of such kind?
Thanks.
Cast:
Debian GNU/Linux 5.0.4;
Windows XP SP 3 (on VirtualBox);
Firefox 3.6;
IE8;
JSpec 3.3.2.
--
JSpec thanks you for your interest and support! To post simply reply
to this email.
documentation: http://jspec.info
unsubscribe: jspec+un...@googlegroups.com
group: http://groups.google.com/group/jspec