![]() This adds a MockStaticSite class, which is available to anything inside the /spec directory. When you create a MockStaticSite object, you give it a hostname (like site.com) and a site name (like your_site_name). GET requests to that hostname will instead see whatever files are in /spec/support/mock_static_sites/your_site_name, as though the contents of that directory were a static HTML site hosted at site.com. Change-Id: Id6fdbb49a0f0eaddf596d40978e0e77063170395 Reviewed-on: https://gerrit.instructure.com/183557 Tested-by: Jenkins Reviewed-by: Michael Hargiss <mhargiss@instructure.com> QA-Review: Tucker Mcknight <tmcknight@instructure.com> Product-Review: Tucker Mcknight <tmcknight@instructure.com> |
||
---|---|---|
.. | ||
file.txt | ||
index.html |