Sha256: f8f4ebb0044accfb7608cd2581a78cf39c20b4c9961ca021899d9a05febe9650

Contents?: true

Size: 1.58 KB

Versions: 32

Compression:

Stored size: 1.58 KB

Contents

@refinerycms @images @images-manage
Feature: Manage Images
  In order to control the content on my website
  As an administrator
  I want to create and manage images

  Background:
    Given I am a logged in refinery user
    And I have no images

  @images-valid @valid
  Scenario: Create Valid Image
    When I go to the list of images
    And I follow "Add new image"
    And I attach the image at "beach.jpeg"
    And I press "Save"
    Then the image "beach.jpeg" should have uploaded successfully
    And I should have 1 image
    And the image should have size "254718"
    And the image should have width "500"
    And the image should have height "375"
    And the image should have mime_type "image/jpeg"

  @images-invalid @invalid
  Scenario: Create Invalid Image (format)
    When I go to the list of images
    And I follow "Add new image"
    And I upload the image at "refinery_is_awesome.txt"
    And I press "Save"
    Then I should not see "successfully added"
    And I should have 0 images

  @images-edit @edit
  Scenario: Edit Existing Image
    When I upload the image at "beach.jpeg"
    And I go to the list of images
    And I follow "Edit this image"
    And I attach the image at "id-rather-be-here.jpg"
    And I press "Save"
    Then I should see "'Id Rather Be Here' was successfully updated."
    And I should have 1 image

  @images-delete @delete
  Scenario: Delete Image
    When I upload the image at "beach.jpeg"
    When I go to the list of images
    And I follow "Remove this image forever"
    Then I should see "'Beach' was successfully removed."
    And I should have 0 images

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
refinerycms-images-1.0.11 features/manage_images.feature
refinerycms-images-1.0.10 features/manage_images.feature
refinerycms-images-1.0.9 features/manage_images.feature
refinerycms-images-1.0.8 features/manage_images.feature
refinerycms-images-1.0.7 features/manage_images.feature
refinerycms-images-1.0.5 features/manage_images.feature
refinerycms-images-1.0.4 features/manage_images.feature
refinerycms-images-1.0.3 features/manage_images.feature
refinerycms-images-1.0.1 features/manage_images.feature
refinerycms-images-1.0.0 features/manage_images.feature
refinerycms-images-0.9.9.22 features/manage_images.feature
refinerycms-images-0.9.9.21 features/manage_images.feature
refinerycms-images-0.9.9.20 features/manage_images.feature
refinerycms-images-0.9.9.19 features/manage_images.feature
refinerycms-images-0.9.9.18 features/manage_images.feature
refinerycms-images-0.9.9.17 features/manage_images.feature
refinerycms-images-0.9.9.16 features/manage_images.feature
refinerycms-images-0.9.9.15 features/manage_images.feature
refinerycms-images-0.9.9.14 features/manage_images.feature
refinerycms-images-0.9.9.13 features/manage_images.feature