migrate selenium for users to cucumber

This commit is contained in:
Reinier Balt 2010-05-03 21:26:48 +02:00
parent 06ac3067d3
commit 0d7980e87b
8 changed files with 74 additions and 30 deletions

View file

@ -54,7 +54,7 @@ class LoginController < ApplicationController
end
when :get
if User.no_users_yet?
redirect_to :controller => 'users', :action => 'new'
redirect_to signup_path
return
end
end