Sha256: ca3af92f85f0e1a8733e0d56b4893bd4da73a6fce92a7cf890a86ed885e2dda3

Contents?: true

Size: 932 Bytes

Versions: 132

Compression:

Stored size: 932 Bytes

Contents

Feature: Preview Changes
  In order to run quickly, we should update internal caches on file changes
  
  Scenario: A template changes contents during preview
    Given the Server is running at "preview-app"
    And the file "source/content.html.erb" has the contents
      """
      Hello World
      """
    When I go to "/content.html"
    Then I should see "Hello World"
    And the file "source/content.html.erb" has the contents
      """
      Hola Mundo
      """
    When I go to "/content.html"
    Then I should see "Hola Mundo"
    
  Scenario: A template is removed during preview
    Given the Server is running at "preview-app"
    And the file "source/a-page.html.erb" has the contents
      """
      Hello World
      """
    When I go to "/a-page.html"
    Then I should see "Hello World"
    And the file "source/a-page.html.erb" is removed
    When I go to "/a-page.html"
    Then I should see "File Not Found"

Version data entries

132 entries across 132 versions & 5 rubygems

Version Path
middleman-core-x86-mingw32-3.0.9 features/preview_changes.feature
middleman-core-3.0.9 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.8 features/preview_changes.feature
middleman-core-3.0.8 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.8.pre.2 features/preview_changes.feature
middleman-core-3.0.8.pre.2 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.8.pre.1 features/preview_changes.feature
middleman-core-3.0.8.pre.1 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.7 features/preview_changes.feature
middleman-core-3.0.7 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.6 features/preview_changes.feature
middleman-core-3.0.6 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.5 features/preview_changes.feature
middleman-core-3.0.5 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.4 features/preview_changes.feature
middleman-core-3.0.4 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.3 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.2 features/preview_changes.feature
middleman-core-3.0.2 features/preview_changes.feature
middleman-core-x86-mingw32-3.0.1 features/preview_changes.feature