test/segmenters/static_segmenter_test.rb in verdict-0.8.0 vs test/segmenters/static_segmenter_test.rb in verdict-0.9.0
- old
+ new
@@ -18,8 +18,8 @@
assert_equal ['id1', 'id2'], json['subject_identifiers']
end
def test_assigment
assert_equal @segmenter.groups['beta'], @segmenter.assign('id2', stub(id: 'id2'), nil)
- assert_equal nil, @segmenter.assign('id3', stub(id: 'id3'), nil)
+ assert_nil @segmenter.assign('id3', stub(id: 'id3'), nil)
end
end