Sha256: 867ac059060ec1a789c452cd8e81891d81f999e2a9233fa444f768d732074911
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
Contents
Story: First connection There are no user in pictrails Scenario: I am redirect to signup Given there are no user save When the user go to the base URL Then should redirect to '/admin/signup' And follow redirect And render template 'admin/users/new' Scenario: Create the first User Given there are no user save And a username 'shingara' And a password 'shin' And an email 'cyril.mougel@gmail.com' When the user creates an account with username, password and email Then should redirect to '/admin/galleries' And user save in first And there are only one user And follow redirect And render template 'admin/galleries/index' Scenario: the signup is impossible when there are already a user Given a username 'shingara' And a password 'shin' And an email 'cyril.mougel@gmail.com' And the user is save When a user not logged want go to /admin/signup Then should redirect to '/admin/login' And follow redirect And render template 'admin/sessions/new'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pictrails-0.5.0 | stories/signup_story |