Sha256: 08750f9c419bd0ae90fe8e5c8a6bd3472b2d8e7f9eb4ef489fb39c53c6f19928

Contents?: true

Size: 1.26 KB

Versions: 5

Compression:

Stored size: 1.26 KB

Contents

Feature: Allow content with multiple sources to reload
  Scenario: With source that does not specify a destination directory
    Given the Server is running at "multiple-sources-without-destination-dir"
    When I go to "/page.html"
    Then I should see "Before edit"

    When the file "external/page.html.erb" has the contents
      """
      After edit
      """
    And I go to "/page.html"
    Then I should see "After edit"


  Scenario: With source that specifies destination directory
    Given the Server is running at "multiple-sources-with-destination-dir"
    When I go to "/external/page.html"
    Then I should see "Before edit"

    When the file "external/page.html.erb" has the contents
      """
      After edit
      """
    And I go to "/external/page.html"
    Then I should see "After edit"

  Scenario: With external source and a destination directory name different from source directory name
    Given a fixture app "destination-dir-different-from-source-dir-name"
    And I cd to "my-app"
    And the Server is running

    When I go to "/my_dir/page.html"
    Then I should see "Before edit"

    When the file "../external/page.html.erb" has the contents
      """
      After edit
      """
    And I go to "/my_dir/page.html"
    Then I should see "After edit"

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
middleman-core-4.3.0.rc.4 features/multiple-sources-reload.feature
middleman-core-4.3.0.rc.3 features/multiple-sources-reload.feature
middleman-core-4.3.0.rc.2 features/multiple-sources-reload.feature
middleman-core-with-external-sources-watch-fix-4.1.10 features/multiple-sources-reload.feature
middleman-core-with-external-sources-watch-fix-4.1.0 features/multiple-sources-reload.feature