From 7a5fc1150586db167bcd7ccb504beb28d6ab9ea2 Mon Sep 17 00:00:00 2001 From: Ilyaaaaaaaaaaaaa Zhitomirskiy <ilya@joindiaspora.com> Date: Tue, 9 Aug 2011 13:47:25 -0700 Subject: [PATCH] initial cucumber step --- features/oauth.feature | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/features/oauth.feature b/features/oauth.feature index 0388b7cc00..1886e8843e 100644 --- a/features/oauth.feature +++ b/features/oauth.feature @@ -77,3 +77,19 @@ Feature: oauth Then I should be on "/account" on Chubbies And I should see my "profile.birthday" 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 + -- GitLab