I don't know where to put this post, but theme of this more similar to
my issue.
I have trite signin system, like this:
> ApplicationController:
include SessionsHelper
private
helper_method :current_user
def current_user
@current_user ||= User.find(session[:user_id]) if session[:user_id]
end
Aslak, but if I haven't Google Account?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
> that is added to cucumber's world does not have access to your
> application
> controller's @current_user variable.
So, I understand this. But how I can avoid this defect?
If I paste def is_admin? into application_controller near current_user
method, I wouldn't can World(ApplicationController)
Aslak, I send a message to group email, but I haven't answer yet.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
> What email did you send to?
cu...@googlegroups.com
> I'm assuming you're using a regular mail client?
I work from browser.
I sent to you from awhiteland.37.com (first . replace to @)
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing
bump!
I sent letter 3 day ago.
No email answer, no new theme in group, no new message here. But new
message in group exists. Why?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/ma
I sent copy of my issue to cu...@googlegroups.com from
awhitel...@hushmail.com
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
code to sessions_helper, then session[:user_id] wouldn't
work.
Regards, Alex Whiteland
> end
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
> 1. actually log in (i.e. create a user, go to the login screen and log
> in). You can wrap this in a single step definition like "Given I am
> logged in as 'admin'", but you still have to go through the app within
> the step definition.
I do this. Here is example:
Scenario: guest becomes a user
Hi, Andrew.
I resent msg now.
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users
hmm...
I changed 2 servers to friend with google. wtf?
first - 37.com,
second - hushmail.com
Maybe, google think it is spam and sends to it folder. Can yo find my
letters in it?
--
Posted via http://www.ruby-forum.com/.
___
rspec-users mailing list
11 matches
Mail list logo