Sha256: fff801f7e1ff09b48a5cfba6c3e4bf8e493707b40fd9c97c0d67185667e2d66d

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

require 'spec_helper'

describe HL7::Message::Segment::FTS do
  context 'general' do
    before :all do
      base_string = 'FTS||End of File'
      @fts = HL7::Message::Segment::FTS.new(base_string)
    end

    it 'creates an FTS segment' do
      expect(@fts).to_not be_nil
    end

    it 'allows access to an FTS segment' do
      expect(@fts.file_batch_count).to eq('')
      expect(@fts.file_trailer_comment).to eq('End of File')
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby-hl7-1.3.3 spec/fts_segment_spec.rb
ruby-hl7-1.3.2 spec/fts_segment_spec.rb
ruby-hl7-1.3.1 spec/fts_segment_spec.rb
ruby-hl7-1.3.0 spec/fts_segment_spec.rb