On 9 Mar 2011, at 02:48, Gaba Luschi <[email protected]> wrote:
> Hi,
>
> I'm running rspec and get a failure based on a user spec in the
> controller section:
>
Hard to say if you don't tell us what the error is.
Fred
> describe "GET 'show'" do
>
> it "should have the right title" do
> get :show, :id => @user
> response.should have_selector("title", :content => @user.name)
> end
>
>
> Do you know how to correct this error? Would it be in the controller
> section or view?
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.