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.5.1 features/preview_changes.feature
middleman-core-4.5.0 features/preview_changes.feature
middleman-core-4.4.3 features/preview_changes.feature
middleman-core-4.4.2 features/preview_changes.feature
middleman-core-4.4.0 features/preview_changes.feature
middleman-core-4.3.11 features/preview_changes.feature
middleman-core-4.3.10 features/preview_changes.feature
middleman-core-4.3.8 features/preview_changes.feature
middleman-core-4.3.7 features/preview_changes.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/preview_changes.feature
middleman-core-4.3.6 features/preview_changes.feature
middleman-core-4.3.5 features/preview_changes.feature
middleman-core-4.3.4 features/preview_changes.feature
middleman-core-4.3.3 features/preview_changes.feature
middleman-core-4.3.2 features/preview_changes.feature
middleman-core-4.3.1 features/preview_changes.feature
middleman-core-4.3.0 features/preview_changes.feature
middleman-core-4.3.0.rc.4 features/preview_changes.feature
middleman-core-4.3.0.rc.3 features/preview_changes.feature
middleman-core-4.3.0.rc.2 features/preview_changes.feature