From f776f863bb912877b33951647723c620ff32df7a Mon Sep 17 00:00:00 2001 From: kikito Date: Fri, 15 Apr 2016 16:29:01 +0200 Subject: [PATCH] Adds missing step to oauth spec --- spec/features/users_auth_spec.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/spec/features/users_auth_spec.rb b/spec/features/users_auth_spec.rb index a1c9374be..f9b92bb12 100644 --- a/spec/features/users_auth_spec.rb +++ b/spec/features/users_auth_spec.rb @@ -169,6 +169,12 @@ feature 'Users' do expect(current_path).to eq(finish_signup_path) + expect(page).to have_field('user_username', with: 'manuela') + + click_button 'Register' + + expect(current_path).to eq(do_finish_signup_path) + fill_in 'user_username', with: 'manuela2' click_button 'Register'