@@ -49,7 +49,6 @@ def dummy_apt_pathname
49
49
before ( :example ) do
50
50
# By default, we want to ensure tests never actually try to execute any
51
51
# of the update methods unless we are explicitly testing them
52
- allow ( subject ) . to receive ( :update_apt! )
53
52
allow ( subject ) . to receive ( :update_binary_install! )
54
53
allow ( subject ) . to receive ( :update_git! )
55
54
end
@@ -219,10 +218,6 @@ def dummy_apt_pathname
219
218
end
220
219
221
220
context "#run!" do
222
- it "calls update_apt!" do
223
- expect ( subject ) . to receive ( :update_apt! )
224
- subject . run!
225
- end
226
221
it "does not call update_binary_install!" do
227
222
expect ( subject ) . not_to receive ( :update_binary_install! )
228
223
subject . run!
@@ -232,10 +227,6 @@ def dummy_apt_pathname
232
227
subject . run!
233
228
end
234
229
end
235
-
236
- context "#update_apt!" do
237
- # TODO: Add more tests!
238
- end
239
230
end
240
231
241
232
context "in a binary installation" do
@@ -272,10 +263,6 @@ def dummy_apt_pathname
272
263
end
273
264
274
265
context "#run!" do
275
- it "does not call update_apt!" do
276
- expect ( subject ) . not_to receive ( :update_apt! )
277
- subject . run!
278
- end
279
266
it "calls update_binary_install!" do
280
267
expect ( subject ) . to receive ( :update_binary_install! )
281
268
subject . run!
@@ -326,10 +313,6 @@ def dummy_apt_pathname
326
313
end
327
314
328
315
context "#run!" do
329
- it "does not call update_apt!" do
330
- expect ( subject ) . not_to receive ( :update_apt! )
331
- subject . run!
332
- end
333
316
it "does not call update_binary_install!" do
334
317
expect ( subject ) . not_to receive ( :update_binary_install! )
335
318
subject . run!
0 commit comments