Sha256: b42ae7b99dc215d59ab144c71b6c7b7cdd04d8193a2efcce20846bcaacd5e020

Contents?: true

Size: 326 Bytes

Versions: 1

Compression:

Stored size: 326 Bytes

Contents

# encoding: utf-8

shared_context 'Session::Environment' do
  let(:object) { described_class.new({ users: users }, Session::Tracker.new) }

  let(:users) {
    relation = TEST_ENV.repository(:test)[:users]
    mapper   = Mapper.build([[:id], [:name]], model: mock_model(:id, :name))
    Relation.new(relation, mapper)
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rom-0.2.0 spec/shared/unit/session_environment_context.rb