Sha256: 0ed5addfe84444732e1b8fb725faadf2df2451bac5a31173a7cf64362fe035eb
Contents?: true
Size: 808 Bytes
Versions: 1
Compression:
Stored size: 808 Bytes
Contents
Story: Add a Gallery and Picture There are one user in pictrails and no gallery Scenario: Add a gallery after login Given there are no user save And there are no gallery save And there are no picture save And a username 'shingara' And a password 'shin' And an email 'cyril.mougel@gmail.com' And the user is save When the user logged And go to '/admin' Then the response is a success When add create gallery 'MyGallery' Then should redirect to '/admin/galleries' And there are one gallery with name 'MyGallery' Given in gallery 'MyGallery' When add a picture 'files/rails.png' with name 'rails' Then should redirect to '/admin/galleries/mygallery/pictures/rails' And follow redirect And render template 'admin/pictures/show'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pictrails-0.5.0 | stories/add_gallery_story |