Sha256: 706633aa7a99f67be57ddde44b6d7c12b1b6130f781e3d8de82055ffa7275c5d

Contents?: true

Size: 1 KB

Versions: 1

Compression:

Stored size: 1 KB

Contents

Feature: Generating thumbnails

  Scenario: Basic useage during build
    Given a fixture app "automatic-clowncar-app"
    Given a successfully built app at "automatic-clowncar-app" with flags "--verbose"
    When I cd to "build"
    #Then the following files should not exist:
    #  | images/photos/test_image.jpg |
    Then the following files should exist:
      | images/photos/test-image/test-image-small.jpg  |
      | images/photos/test-image/test-image-medium.jpg |
      | images/photos/test-image/test-image-large.jpg |

  Scenario: Basic useage during preview
    Given a fixture app "automatic-clowncar-app"
    And the Server is running at "automatic-clowncar-app"
    When I go to "/images/photos/test-image/test-image-small.jpg"
    Then the content type should be "image/jpeg"
    When I go to "/images/photos/test-image/test-image-medium.jpg"
    Then the content type should be "image/jpeg"
    When I go to "/images/photos/test-image/test-image-large.jpg"
    Then the content type should be "image/jpeg"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-automatic-clowncar-0.0.1 features/thumbnail_generation.feature