diff --git a/middleman-core/features/partials.feature b/middleman-core/features/partials.feature index dfc2950e..d039bdcb 100644 --- a/middleman-core/features/partials.feature +++ b/middleman-core/features/partials.feature @@ -12,6 +12,11 @@ Feature: Provide Sane Defaults for Partial Behavior Then I should see "Header" And I should see "Footer" + Scenario: Finds shared partials without _ prefix + Given the Server is running at "partials-app" + When I go to "/using_snippet.html" + Then I should see "Snippet" + Scenario: Prefers partials of the same engine type Given the Server is running at "partials-app" When I go to "/index.html" diff --git a/middleman-core/fixtures/partials-app/source/shared/_footer.erb b/middleman-core/fixtures/partials-app/source/shared/_footer.erb index 763283eb..e749891c 100644 --- a/middleman-core/fixtures/partials-app/source/shared/_footer.erb +++ b/middleman-core/fixtures/partials-app/source/shared/_footer.erb @@ -1 +1 @@ -%footer Footer \ No newline at end of file +