From ccc1cc1288a18b872beb39e8eb736a9c8ac16e4b Mon Sep 17 00:00:00 2001 From: Thomas Reynolds Date: Wed, 11 May 2016 11:48:21 -0700 Subject: [PATCH] Fix ordering in tests --- middleman-core/features/i18n_link_to.feature | 68 +++++++++---------- .../features/relative_assets.feature | 2 +- .../relative_assets_helpers_only.feature | 2 +- 3 files changed, 36 insertions(+), 36 deletions(-) diff --git a/middleman-core/features/i18n_link_to.feature b/middleman-core/features/i18n_link_to.feature index a10787c4..9d3f0682 100644 --- a/middleman-core/features/i18n_link_to.feature +++ b/middleman-core/features/i18n_link_to.feature @@ -4,7 +4,7 @@ Feature: i18n Paths Given a fixture app "empty-app" And a file named "data/pages.yml" with: """ - - hello.html + - hello.html """ And a file named "locales/en.yml" with: """ @@ -50,24 +50,24 @@ Feature: i18n Paths Given the Server is running at "empty-app" When I go to "/hello.html" Then I should see "Page: Hello" - Then I should see 'Current Home' - Then I should see 'Other Home' - Then I should see 'Home: Current Block' - Then I should see 'Home: Other Block' - Then I should see 'Current hello.html' - Then I should see 'Other hello.html' - Then I should see 'Current Block' - Then I should see 'Other Block' + Then I should see 'Current Home' + Then I should see 'Other Home' + Then I should see 'Home: Current Block' + Then I should see 'Home: Other Block' + Then I should see 'Current hello.html' + Then I should see 'Other hello.html' + Then I should see 'Current Block' + Then I should see 'Other Block' When I go to "/es/hola.html" Then I should see "Page: Hola" - Then I should see 'Current Home' - Then I should see 'Other Home' - Then I should see 'Home: Current Block' - Then I should see 'Home: Other Block' - Then I should see 'Current hello.html' - Then I should see 'Other hello.html' - Then I should see 'Current Block' - Then I should see 'Other Block' + Then I should see 'Current Home' + Then I should see 'Other Home' + Then I should see 'Home: Current Block' + Then I should see 'Home: Other Block' + Then I should see 'Current hello.html' + Then I should see 'Other hello.html' + Then I should see 'Current Block' + Then I should see 'Other Block' Scenario: link_to is i18n aware and supports relative_links Given a fixture app "empty-app" @@ -124,30 +124,30 @@ Feature: i18n Paths Then I should see "assets/css/main.css" When I go to "/hello.html" Then I should see "Page: Hello" - Then I should see 'Current Home' - Then I should see 'Other Home' - Then I should see 'Home: Current Block' - Then I should see 'Home: Other Block' - Then I should see 'Current hello.html' - Then I should see 'Other hello.html' - Then I should see 'Current Block' - Then I should see 'Other Block' + Then I should see 'Current Home' + Then I should see 'Other Home' + Then I should see 'Home: Current Block' + Then I should see 'Home: Other Block' + Then I should see 'Current hello.html' + Then I should see 'Other hello.html' + Then I should see 'Current Block' + Then I should see 'Other Block' When I go to "/es/hola.html" Then I should see "Page: Hola" - Then I should see 'Current Home' - Then I should see 'Other Home' - Then I should see 'Home: Current Block' - Then I should see 'Home: Other Block' - Then I should see 'Current hello.html' - Then I should see 'Other hello.html' - Then I should see 'Current Block' - Then I should see 'Other Block' + Then I should see 'Current Home' + Then I should see 'Other Home' + Then I should see 'Home: Current Block' + Then I should see 'Home: Other Block' + Then I should see 'Current hello.html' + Then I should see 'Other hello.html' + Then I should see 'Current Block' + Then I should see 'Other Block' Scenario: url_for is i18n aware Given a fixture app "empty-app" And a file named "data/pages.yml" with: """ - - hello.html + - hello.html - article.html """ And a file named "locales/en.yml" with: diff --git a/middleman-core/features/relative_assets.feature b/middleman-core/features/relative_assets.feature index ea6cbff0..ba131396 100644 --- a/middleman-core/features/relative_assets.feature +++ b/middleman-core/features/relative_assets.feature @@ -120,7 +120,7 @@ Feature: Relative Assets """ And the Server is running at "relative-assets-app" When I go to "/sub/image_tag.html" - Then I should see '' + Then I should see '' + Then I should see '