Sha256: 40bd59388151d6ccc30ee8cd3a1173dc95806f1107f6e793af6f763809669e25

Contents?: true

Size: 295 Bytes

Versions: 21

Compression:

Stored size: 295 Bytes

Contents

# encoding: utf-8
require 'spec_helper'
require 'fedux_org_stdlib/core_ext/array/list'

RSpec.describe Array do
  context '#to_list' do
    it 'converts array to a list of values' do
      input = %w{ asdf asdf asdf}

      expect(input.to_list).to eq '"asdf", "asdf", "asdf"'
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
fedux_org-stdlib-0.6.46 spec/core_ext/array/list.rb