@@ -284,31 +284,31 @@ def awesome(ns)
284
284
assert ( node_set_one = xml . xpath ( "//employee" ) )
285
285
assert ( node_set_two = xml . xpath ( "//employee" ) )
286
286
287
- refute_operator ( node_set_one . object_id , :== , node_set_two . object_id )
287
+ refute_equal ( node_set_one . object_id , node_set_two . object_id )
288
288
refute_same ( node_set_one , node_set_two )
289
289
290
- assert_operator ( node_set_one , :== , node_set_two )
290
+ assert_operator ( node_set_one , :== , node_set_two ) # rubocop:disable Minitest/AssertEqual
291
291
end
292
292
293
293
it "handles comparison to a string" do
294
294
node_set_one = xml . xpath ( "//employee" )
295
- refute_operator ( node_set_one , :== , "asdfadsf" )
295
+ refute_operator ( node_set_one , :== , "asdfadsf" ) # rubocop:disable Minitest/RefuteEqual
296
296
end
297
297
298
298
it "returns false if same elements are out of order" do
299
299
one = xml . xpath ( "//employee" )
300
300
two = xml . xpath ( "//employee" )
301
301
two . push ( two . shift )
302
- refute_operator ( one , :== , two )
302
+ refute_operator ( one , :== , two ) # rubocop:disable Minitest/RefuteEqual
303
303
end
304
304
305
305
it "returns false if one is a subset of the other" do
306
306
node_set_one = xml . xpath ( "//employee" )
307
307
node_set_two = xml . xpath ( "//employee" )
308
308
node_set_two . delete ( node_set_two . first )
309
309
310
- refute_operator ( node_set_one , :== , node_set_two )
311
- refute_operator ( node_set_two , :== , node_set_one )
310
+ refute_operator ( node_set_one , :== , node_set_two ) # rubocop:disable Minitest/RefuteEqual
311
+ refute_operator ( node_set_two , :== , node_set_one ) # rubocop:disable Minitest/RefuteEqual
312
312
end
313
313
end
314
314
0 commit comments