Sha256: cf7080e759a680a7a1d334936b27f7e27ae376d77f3b7ab9ac7e6fd643c90787

Contents?: true

Size: 1.38 KB

Versions: 45

Compression:

Stored size: 1.38 KB

Contents

Feature: Move files

  Scenario: Move one path to another
    Given a fixture app "large-build-app"
    And a file named "config.rb" with:
    """
    move_file "/static.html", "/static2.html"
    """
    And the Server is running at "large-build-app"
    When I go to "/static.html"
    Then I should see 'Not Found'
    When I go to "/static2.html"
    Then I should see 'Static, no code!'

  Scenario: Move one path to another with directory indexes
    Given a fixture app "large-build-app"
    And a file named "config.rb" with:
    """
    activate :directory_indexes
    move_file "/static.html", "/static2.html"
    """
    And the Server is running at "large-build-app"
    When I go to "/static.html"
    Then I should see 'Not Found'
    When I go to "/static/index.html"
    Then I should see 'Not Found'
    When I go to "/static2.html"
    Then I should see 'Static, no code!'

  Scenario: Move one path to another with directory indexes (using dest path)
    Given a fixture app "large-build-app"
    And a file named "config.rb" with:
    """
    activate :directory_indexes
    move_file "/static/index.html", "/static2.html"
    """
    And the Server is running at "large-build-app"
    When I go to "/static.html"
    Then I should see 'Not Found'
    When I go to "/static/index.html"
    Then I should see 'Not Found'
    When I go to "/static2.html"
    Then I should see 'Static, no code!'

Version data entries

45 entries across 45 versions & 3 rubygems

Version Path
middleman-core-4.6.0 features/move_files.feature
middleman-core-4.5.1 features/move_files.feature
middleman-core-4.5.0 features/move_files.feature
middleman-core-4.4.3 features/move_files.feature
middleman-core-4.4.2 features/move_files.feature
middleman-core-4.4.0 features/move_files.feature
middleman-core-4.3.11 features/move_files.feature
middleman-core-4.3.10 features/move_files.feature
middleman-core-4.3.8 features/move_files.feature
middleman-core-4.3.7 features/move_files.feature
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/features/move_files.feature
middleman-core-4.3.6 features/move_files.feature
middleman-core-4.3.5 features/move_files.feature
middleman-core-4.3.4 features/move_files.feature
middleman-core-4.3.3 features/move_files.feature
middleman-core-4.3.2 features/move_files.feature
middleman-core-4.3.1 features/move_files.feature
middleman-core-4.3.0 features/move_files.feature
middleman-core-4.3.0.rc.4 features/move_files.feature
middleman-core-4.3.0.rc.3 features/move_files.feature