Sha256: 5560470de166b0c2a600091b9e57c9036cc210055f9246887a98503747010f05

Contents?: true

Size: 538 Bytes

Versions: 19

Compression:

Stored size: 538 Bytes

Contents

FactoryGirl.define do
  factory :location, class: G5Updatable::Location do
    uid "http://example.com/clients/g5-c-1234-client/locations/g5-cl-1234-location"
    urn "g5-cl-1234-location"
    client_uid "http://example.com/clients/g5-c-1234-client"
    name 'test location'
    properties { { domain: "http://myloc.com" } }
  end

  factory :client, class: G5Updatable::Client do
    uid "http://example.com/clients/g5-c-1234-client"
    urn "g5-c-1234-client"
    name 'test client'
    properties { { city: "Test Client" } }
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
g5_updatable-0.10.3 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.10.2 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.10.1 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.10.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.9.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.8.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.7.2 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.7.1 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.7.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.6.1 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.6.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.5.1 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.5.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.4.3 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.4.2 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.4.1 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.4.0 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.3.5 lib/g5_updatable/rspec/factories.rb
g5_updatable-0.3.4 lib/g5_updatable/rspec/factories.rb