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-4.0.0.alpha.2 features/preview_changes.feature
middleman-core-3.3.5 features/preview_changes.feature
middleman-core-cj-3.3.6 features/preview_changes.feature
middleman-core-cj-3.3.5 features/preview_changes.feature
middleman-core-cj-3.3.4 features/preview_changes.feature
middleman-core-3.3.4 features/preview_changes.feature
middleman-core-3.3.3 features/preview_changes.feature
middleman-core-3.3.2 features/preview_changes.feature
middleman-core-3.3.1 features/preview_changes.feature
middleman-core-3.3.0 features/preview_changes.feature
middleman-core-3.2.2 features/preview_changes.feature
middleman-core-3.2.1 features/preview_changes.feature
middleman-core-3.2.0 features/preview_changes.feature
middleman-core-3.1.6 features/preview_changes.feature
middleman-core-3.1.5 features/preview_changes.feature
middleman-core-3.1.4 features/preview_changes.feature
middleman-core-3.1.3 features/preview_changes.feature
middleman-core-3.1.2 features/preview_changes.feature
middleman-core-3.1.1 features/preview_changes.feature
middleman-core-3.1.0 features/preview_changes.feature