Sha256: fde13eed681119a05f28b981ca4e7ee8b051512c44a21c9037c624c8a14f4e25

Contents?: true

Size: 689 Bytes

Versions: 36

Compression:

Stored size: 689 Bytes

Contents

shared_context 'team_0 import' do
  let!(:import_0) do
    create(:import,
      :remote_id => 'team_0',
      :synchronisable => create(:team,
        :name => 'x',
        :country => 'Russia',
        :city => 'Moscow',
      )
    )
  end
  let!(:team_0) { import_0.synchronisable }
end

shared_context 'team_1 import' do
  let!(:import_1) do
    create(:import,
      :remote_id => 'team_1',
      :synchronisable => create(:team,
        :name => 'y',
        :country => 'France',
        :city => 'Paris',
      )
    )
  end
  let!(:team_1) { import_1.synchronisable }
end

shared_context 'team imports' do
  include_context 'team_0 import'
  include_context 'team_1 import'
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
synchronisable-1.3.1 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.3.0 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.7 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.6 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.5 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.4 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.3 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.2 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.1 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.2.0 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.9 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.8 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.7 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.6 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.5 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.4 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.3 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.2 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.1 spec/synchronisable/support/shared/contexts.rb
synchronisable-1.1.0 spec/synchronisable/support/shared/contexts.rb