[rspec-users] rSpec website tutorial correction

David Chelimsky dchelimsky at gmail.com
Mon Nov 27 12:21:00 EST 2006


Actually that is correct.  The idea is that the view specs directory
structure should match the view directory structure.

app/views/thing/show.rhtml
spec/views/thing/show_view_spec.rb

Cheers,
David

On 11/27/06, Keith McDonnell <keith at dancingtext.com> wrote:
> Hi there,
>
> On page
> http://rspec.rubyforge.org/documentation/rails/writing/views.html the
> view spec example  is incorrect.
>
> Instead of:
>
> require File.dirname(__FILE__) + '/../../spec_helper'
>
> It should read:
>
> require File.dirname(__FILE__) + '/../spec_helper'
>
> Regards,
>
> Keith
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list