[rspec-users] have_tag and line numbers
geoffrey.wiseman at gmail.com
Mon Oct 1 13:30:19 EDT 2007
When I've got a view example like this:
1: response.should have_tag "fieldset#children" do
2: with_tag "child"
If it can't find 'child', the error seems to come back as my_spec.rb:1
instead of my_spec.rb:2.
Has anyone else experienced this? I just spent a while tracking down what I
assumed was a problem in my have_tag only to discover it was a problem with
my with_tag. Just trying to determine if I'm mis-understanding something or
if this is a bug I should file in the tracker?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users