Sha256: 87f13ccf225ede0eb8ef0f223c9648b0df4419a92e10c9a71532ed4fe9704fa5

Contents?: true

Size: 966 Bytes

Versions: 5

Compression:

Stored size: 966 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

5 entries across 5 versions & 1 rubygems

Version Path
middleman-simple-thumbnailer-1.2.0 features/caching_thumbnails_in_development.feature
middleman-simple-thumbnailer-1.1.0 features/caching_thumbnails_in_development.feature
middleman-simple-thumbnailer-1.0.2 features/caching_thumbnails_in_development.feature
middleman-simple-thumbnailer-1.0.1 features/caching_thumbnails_in_development.feature
middleman-simple-thumbnailer-1.0.0 features/caching_thumbnails_in_development.feature