Logo: Relish

  1. Sign in

Project: Content-service

HTML Includes

The Content Service serves HTML includes for all web applications.
Static assets includes returned for successful GET calls.
404 returned for includes that do not exist.

Scenarios
Requesting an include
Given
a file called 'test_include.haml' is in the includes directory and contains:
some content
When
a GET request is sent to '/assets/includes/test_include'
Then
a 200 should be received
And
the response should contain 'some content'

Last published over 4 years ago by lashd.