here is the spec in users_controller_spec.rb
describe "show action" do
get :show, :id => @user.id
it "should be successful" do
and here is the error
1) UsersController show action should be successful Failure/Error:
get :show, :id => @user.id ......................... (class)>
received :find with unexpected arguments expected: (2) got: ("2")
Not sure where is going wrong. The show action has nothing in the
controller, it is just def show end
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-US.