RSpec with, contain_exactly(1, 2, 3) , , :
expect(calculation_service).to receive(:sum?).with(contain_exactly(1, 2, 3)) { 6 }
" 1, 2, 3" ( ), RSpec 3 , . a_collection_containing_exactly:
expect(calculation_service).to receive(:sum?).with(
a_collection_containing_exactly(1, 2, 3)
) { 6 }