Sha256: b572d8b7c76afbde891ccbd0391b0febc0df468292209cc8409402388a1ddac9

Contents?: true

Size: 221 Bytes

Versions: 10

Compression:

Stored size: 221 Bytes

Contents

require 'spec_helper'

describe CurationConcern::Work do
  context '.ids_from_tokens' do
    it 'splits tokens on commas' do
      expect(described_class.ids_from_tokens("ab , cd ")).to eq(['ab', 'cd'])
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
curate-0.6.6 spec/repository_models/curation_concern/work_spec.rb
curate-0.6.5 spec/repository_models/curation_concern/work_spec.rb
curate-0.6.4 spec/repository_models/curation_concern/work_spec.rb
curate-0.6.3 spec/repository_models/curation_concern/work_spec.rb
curate-0.6.1 spec/repository_models/curation_concern/work_spec.rb
curate-0.6.0 spec/repository_models/curation_concern/work_spec.rb
curate-0.5.6 spec/repository_models/curation_concern/work_spec.rb
curate-0.5.5 spec/repository_models/curation_concern/work_spec.rb
curate-0.5.4 spec/repository_models/curation_concern/work_spec.rb
curate-0.5.2 spec/repository_models/curation_concern/work_spec.rb