|
124 | 124 | (shell-quote-argument "[cider/cider-nrepl \"0.10.0-SNAPSHOT\"]")
|
125 | 125 | " -- update-in :plugins conj "
|
126 | 126 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
127 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 127 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
128 | 128 | " -- repl :headless")))
|
129 | 129 |
|
130 | 130 | (it "can inject dependencies in a lein project with an exclusion"
|
|
137 | 137 | (shell-quote-argument "[cider/cider-nrepl \"0.10.0-SNAPSHOT\"]")
|
138 | 138 | " -- update-in :plugins conj "
|
139 | 139 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
140 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 140 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
141 | 141 | " -- repl :headless")))
|
142 | 142 |
|
143 | 143 | (it "can inject dependencies in a lein project with multiple exclusions"
|
|
149 | 149 | (shell-quote-argument "[cider/cider-nrepl \"0.10.0-SNAPSHOT\"]")
|
150 | 150 | " -- update-in :plugins conj "
|
151 | 151 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
152 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 152 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
153 | 153 | " -- repl :headless")))
|
154 | 154 |
|
155 | 155 | (it "can inject dependencies in a boot project"
|
|
184 | 184 | (shell-quote-argument "[cider/cider-nrepl \"0.11.0\"]")
|
185 | 185 | " -- update-in :plugins conj "
|
186 | 186 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
187 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 187 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
188 | 188 | " -- repl :headless")))
|
189 | 189 |
|
190 | 190 | (it "can inject dependencies in a boot project"
|
|
217 | 217 | (shell-quote-argument "[cider/cider-nrepl \"0.11.0\"]")
|
218 | 218 | " -- update-in :plugins conj "
|
219 | 219 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
220 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 220 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
221 | 221 | " -- repl :headless")))
|
222 | 222 | (it "can concat in a boot project"
|
223 | 223 | (expect (cider-inject-jack-in-dependencies "-C -o" "repl -s wait" 'boot)
|
|
293 | 293 | (shell-quote-argument "[cider/cider-nrepl \"0.11.0\"]")
|
294 | 294 | " -- update-in :plugins conj "
|
295 | 295 | (shell-quote-argument "[mx.cider/enrich-classpath \"1.5.0\"]")
|
296 |
| - " -- update-in :middlewares conj cider.enrich-classpath/middleware" |
| 296 | + " -- update-in :middleware conj cider.enrich-classpath/middleware" |
297 | 297 | " -- repl :headless"))))
|
298 | 298 |
|
299 | 299 | (describe "when the middleware and plugin lists have been normalized (Boot)"
|
|
0 commit comments