[rspec-users] have_tag and line numbers
dchelimsky at gmail.com
Mon Oct 1 13:36:40 EDT 2007
This is fixed in trunk.
On 10/1/07, Geoffrey Wiseman <geoffrey.wiseman at gmail.com> wrote:
> When I've got a view example like this:
> 1: response.should have_tag "fieldset#children" do
> 2: with_tag "child"
> 3: end
> 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?
> - Geoffrey
> Geoffrey Wiseman
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users