Commit ba61cd6
committed
Adds a spec to test for Sinatra errors
Because the Sinatra error page shows a table of Variables and Values, if
there is a Ruby error in the code, the specs will all pass. This commit
adds adds a spec to check for 'backtrace' text that would indicate the
error page.1 parent 6a4f04e commit ba61cd6
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
| |||
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
87 | | - | |
| 94 | + | |
0 commit comments