Sha256: ae67c7b8cfae198056f75d523299b2ef3ba8a14458ddf466d22d2cdc1f629480

Contents?: true

Size: 823 Bytes

Versions: 2

Compression:

Stored size: 823 Bytes

Contents

Feature: Generate data file

  Scenario: Check images
    Given a fixture app "basic-app-data-file-generate"
    And a successfully built app at "basic-app-data-file"
    When I cd to "build"
    Then the following images should exist:
      | filename                    | dimensions |
      | images/original.10x10gt.jpg | 10x5       |
      | images/original.5x5.jpg     |  5x2       |

  Scenario: Check generated data file content
    Given a fixture app "basic-app-data-file-generate"
    And a successfully built app at "basic-app-data-file-generate"
    When I cd to "data"
    Then a file named "simple_thumbnailer.yaml" should exist
    And file "simple_thumbnailer.yaml" should contain the following data:
      | path         | resize_to |
      | original.jpg | 5x5       |
      | original.jpg | 10x10>    |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
middleman-simple-thumbnailer-1.4.0 features/generate_new_data_file.feature
middleman-simple-thumbnailer-1.3.1 features/generate_new_data_file.feature