initial cucumber step

This commit is contained in:
Ilyaaaaaaaaaaaaa Zhitomirskiy 2011-08-09 13:47:25 -07:00 committed by Maxwell Salzberg
parent eb99b6ba5d
commit 7a5fc11505

View file

@ -77,3 +77,19 @@ Feature: oauth
Then I should be on "/account" on Chubbies Then I should be on "/account" on Chubbies
And I should see my "profile.birthday" And I should see my "profile.birthday"
And I should see my "name" And I should see my "name"
Scenario: Login in with Chubbies when you already authorized it
Given Chubbies is registered on my pod
When I try to authorize Chubbies
When I press "Authorize"
Then I should be on "/account" on Chubbies
And I should see my "profile.birthday"
And I should see my "name"
Then I visit "/new" on Chubbies
And I fill in "Diaspora Handle" with "#{@me.diaspora_handle}"
And I press "Connect to Diaspora"
And I debug
Then I should be on "/account" on Chubbies