From c6823e82387436c5eff3717137492cdfe6219e92 Mon Sep 17 00:00:00 2001 From: Jay Greasley Date: Sun, 26 Nov 2017 10:40:59 +0000 Subject: [PATCH] Update sign_up_spec.rb The default Devise password minimum is 6 characters --- spec/features/visitors/sign_up_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/visitors/sign_up_spec.rb b/spec/features/visitors/sign_up_spec.rb index fc50163..da4801a 100644 --- a/spec/features/visitors/sign_up_spec.rb +++ b/spec/features/visitors/sign_up_spec.rb @@ -37,7 +37,7 @@ # When I sign up with a short password # Then I see a 'too short password' message scenario 'visitor cannot sign up with a short password' do - sign_up_with('test@example.com', 'please', 'please') + sign_up_with('test@example.com', 'short', 'short') expect(page).to have_content "Password is too short" end