Re: [Rails] error in GET 'show'
On 9 Mar 2011, at 02:48, Gaba Luschi <lists@ruby-forum.com> 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 rubyonrails-talk@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home