From: mtaylor <[email protected]>
---
src/app/controllers/users_controller.rb | 2 +-
src/features/authentication.feature | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/controllers/users_controller.rb
b/src/app/controllers/users_controller.rb
index 3536c0e..b5ce7e8 100644
--- a/src/app/controllers/users_controller.rb
+++ b/src/app/controllers/users_controller.rb
@@ -32,7 +32,7 @@ class UsersController < ApplicationController
@registration = RegistrationService.new(@user)
if @registration.save
flash[:notice] = "User registered!"
- redirect_back_or_default url_for(:action => :show, :id => @user.id)
+ redirect_back_or_default url_for user_path(:id => @user.id)
else
render :action => :new
end
diff --git a/src/features/authentication.feature
b/src/features/authentication.feature
index 78754b9..8f56520 100644
--- a/src/features/authentication.feature
+++ b/src/features/authentication.feature
@@ -17,7 +17,7 @@ Feature: User authentication
| Last name | Tester |
| Email | [email protected] |
And I press "Create Account"
- Then I should be on the account page
+ Then I should be on the show user page
And I should see "User registered!"
And I should have one private pool named "testuser"
--
1.6.6.1
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel