Oh, I see. I'll heed your advice and will consider using @user for the
logged in user in the future.
Thanks again,
Balint
Matt Wynne wrote:
> On 14 Mar 2009, at 19:11, Balint Erdi wrote:
>
>>
>> nice
>>
>> 3. using instance variables to pass state in the course of a features
>> makes step defin
On 14 Mar 2009, at 19:11, Balint Erdi wrote:
Hey Matt,
Thanks a lot for your elaborated response!
After reading this excellent thread about how to pass state between
steps:
http://www.mail-archive.com/rspec-users@rubyforge.org/msg06296.html
I realized
1. I am not alone in this boat :)
2. t
Hey Matt,
Thanks a lot for your elaborated response!
After reading this excellent thread about how to pass state between
steps:
http://www.mail-archive.com/rspec-users@rubyforge.org/msg06296.html
I realized
1. I am not alone in this boat :)
2. that if I write "I go to", "my profile page" ther
On 11 Mar 2009, at 18:52, Balint Erdi wrote:
Hey,
I have the following simple scenario and the step definitions:
Scenario: Create album
Given I am logged in as "pepito"
When I go to my profile page
...
Given /^the user (.*) exists$/ do |login_name|
User.find_by_login(login_name) || Facto