Hi,

I'm running rspec and get a failure based on a user spec in the
controller section:

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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to