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.7.14 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.12 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.11 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.10 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.8 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.7 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.6 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.5 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.4 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.3 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.2 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.1 spec/core_ext/array/list.rb
fedux_org-stdlib-0.7.0 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.54 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.53 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.52 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.51 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.50 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.48 spec/core_ext/array/list.rb
fedux_org-stdlib-0.6.47 spec/core_ext/array/list.rb