aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/user_controller_spec.rb
diff options
context:
space:
mode:
authorfrancis <francis>2008-03-12 16:07:13 +0000
committerfrancis <francis>2008-03-12 16:07:13 +0000
commit938306b88df6c6734566ea7995bf92da9862efc4 (patch)
treefb33992562f3f1cff0f83e00207d7472b844f074 /spec/controllers/user_controller_spec.rb
parentfacda1bfffb9d91da6a2f2e22b2345590e452f96 (diff)
Make users all have their own URL, rather than sharing if they have the same name.
Diffstat (limited to 'spec/controllers/user_controller_spec.rb')
-rw-r--r--spec/controllers/user_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb
index 66f883ef3..26d02615f 100644
--- a/spec/controllers/user_controller_spec.rb
+++ b/spec/controllers/user_controller_spec.rb
@@ -21,7 +21,7 @@ describe UserController, "when showing a user" do
it "should assign the user" do
get :show, :url_name => "bob_smith"
- assigns[:display_users].should == [ users(:bob_smith_user) ]
+ assigns[:display_user].should == users(:bob_smith_user)
end
# Error handling not quite good enough for this yet