Sha256: a638ff42d36dcd4b3d66e55f2a375482e7c201d6072ae27ab6ee158ae36363ba

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

Feature: Caching thumbnails in development

  Scenario: Cached thumbnails are created
    Given the Server is running at "basic-app"
    And there is no cache directory yet
    When I go to "/page-with-images-to-resize.html"
    Then the cache directory should exist with the following files
      | images/original.10x10gt.eb4e78fd2554225b2.jpg |
      | images/original.5x5.eb4e78fd2554225b2.jpg     |

  Scenario: Cached thumbnails are used, if present
    Given the Server is running at "cached-thumbnails"
    When I go to "/page-with-images-to-resize.html"
    Then I should see base64ed data of the cached thumbnails

  Scenario: Manually setting the cache directory
    Given the Server is running at "custom-cache-dir"
    When I go to "/page-with-images-to-resize.html"
    Then the cache directory should exist at "tmp/xxx" with the following files
      | images/original.10x10.eb4e78fd2554225b2.jpg |
      | images/original.5x5.eb4e78fd2554225b2.jpg   |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-simple-thumbnailer-1.3.1 features/caching_thumbnails_in_development.feature
middleman-simple-thumbnailer-1.2.1 features/caching_thumbnails_in_development.feature