Sha256: 581092a8ec203ac5071afea53c5a765fe229a1054011e33dd6db7b716ff176b1

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 Bytes

Contents

require 'spec_helper'

module Roqua
  module CoreApi
    module Sessions
      describe OrganizationSession do
        let(:session) { Fabricate :organization_session }

        describe '#dossier_group_session' do
          it 'initializes an dossier_group session with a given dossier_group_id' do
            dossier_group_id = 'some_dossier_group_id'
            expect(DossierGroupSession).to receive(:new).with(dossier_group_id, session.organization_id,
                                                              session.server_url)
            session.dossier_group_session dossier_group_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/organization_session_spec.rb
roqua-core-api-0.0.8 spec/lib/roqua/core_api/sessions/organization_session_spec.rb
roqua-core-api-0.0.7 spec/lib/roqua/core_api/sessions/organization_session_spec.rb
roqua-core-api-0.0.6 spec/lib/roqua/core_api/sessions/organization_session_spec.rb
roqua-core-api-0.0.5 spec/lib/roqua/core_api/sessions/organization_session_spec.rb