|
54 | 54 |
|
55 | 55 | r.body.must_match /123304952309747203947/
|
56 | 56 |
|
57 |
| - assert_equal "SinatraSimple.GET/render/:id", test_action |
| 57 | + assert_equal "SinatraSimple.GET /render/:id", test_action |
58 | 58 | assert_equal "http://example.org/render/123304952309747203947", test_url
|
59 | 59 | assert_equal 200, test_status
|
60 | 60 | assert_equal "GET", test_method
|
|
78 | 78 |
|
79 | 79 | r.body.must_match /WOOT.*123304952309747203947/
|
80 | 80 |
|
81 |
| - assert_equal "SinatraSimple.GET/render/:id/what", test_action |
| 81 | + assert_equal "SinatraSimple.GET /render/:id/what", test_action |
82 | 82 | assert_equal "http://example.org/render/123304952309747203947/what", test_url
|
83 | 83 | assert_equal 200, test_status
|
84 | 84 | assert_equal "GET", test_method
|
|
102 | 102 |
|
103 | 103 | r.body.must_match /hello world/
|
104 | 104 |
|
105 |
| - assert_equal "SinatraSimple.GET/say/*/to/*", test_action |
| 105 | + assert_equal "SinatraSimple.GET /say/*/to/*", test_action |
106 | 106 | assert_equal "http://example.org/say/hello/to/world", test_url
|
107 | 107 | assert_equal 200, test_status
|
108 | 108 | assert_equal "GET", test_method
|
|
127 | 127 |
|
128 | 128 | r.body.must_match /Hello, friend/
|
129 | 129 |
|
130 |
| - test_action.must_match "SinatraSimple.GET\\/hello\\/([\\w]+)", test_action |
| 130 | + test_action.must_match "SinatraSimple.GET \\/hello\\/([\\w]+)", test_action |
131 | 131 | assert_equal "http://example.org/hello/friend", test_url
|
132 | 132 | assert_equal 200, test_status
|
133 | 133 | assert_equal "GET", test_method
|
|
0 commit comments