Sha256: 299d543c584a255a70d41bc0974250809ef55986528388b3b4645f9562a93225

Contents?: true

Size: 644 Bytes

Versions: 5

Compression:

Stored size: 644 Bytes

Contents

require 'spec_helper'

module Roqua
  module CoreApi
    module Sessions
      describe DossierGroupSession do
        let(:session) { Fabricate :dossier_group_session }

        describe '#dossier_session' do
          it 'initializes a dossier session with a given dossier_group' do
            dossier_id = 'some_dossier_id'
            expect(DossierSession).to receive(:new)
                                  .with(dossier_id, session.dossier_group_id,
                                        session.organization_id, session.server_url)
            session.dossier_session dossier_id
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
roqua-core-api-0.0.9 spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb
roqua-core-api-0.0.8 spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb
roqua-core-api-0.0.7 spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb
roqua-core-api-0.0.6 spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb
roqua-core-api-0.0.5 spec/lib/roqua/core_api/sessions/dossier_group_session_spec.rb