Commit 612a289
committed
Add Plug.Static tests
* Add test that asserts Plug.Static.call/2 serves files from the
app directory using a :from with an application name and
directory.
* Add test that asserts Plug.Static.init/1 preserves a two-tuple
:from with an application name and directory.
* Add test that asserts Plug.Static.init/1 transforms an
application name :from to a two-tuple :from with the
application name and a directory.1 parent 90590ab commit 612a289
1 file changed
+35
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
316 | 339 | | |
317 | 340 | | |
318 | 341 | | |
| |||
843 | 866 | | |
844 | 867 | | |
845 | 868 | | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
846 | 881 | | |
0 commit comments