Sha256: b03d57f14dabb3866d08f0e5cc2d6942949d9d3a10c8adcdc2323c7370c7d814

Contents?: true

Size: 428 Bytes

Versions: 110

Compression:

Stored size: 428 Bytes

Contents

Shindo.tests('Fog::Rackspace::Identity | users', ['rackspace']) do

  pending if Fog.mocking?

  service = Fog::Rackspace::Identity.new
  username = "fog#{Time.now.to_i.to_s}"
  options = {
    :username => username,
    :email => 'email@example.com',
    :enabled => true
  }
  collection_tests(service.users, options, false) do
    tests('#get_by_name').succeeds do
      service.users.get_by_name(username)
    end
  end
end

Version data entries

110 entries across 108 versions & 13 rubygems

Version Path
fog-rackspace-0.1.6 tests/rackspace/models/identity/users_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/identity/users_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/identity/users_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-rackspace-0.1.5/tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.5 tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.4 tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.3 tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.2 tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.1 tests/rackspace/models/identity/users_tests.rb
fog-rackspace-0.1.0 tests/rackspace/models/identity/users_tests.rb
fog-1.37.0 tests/rackspace/models/identity/users_tests.rb
fog-1.36.0 tests/rackspace/models/identity/users_tests.rb
fog-1.35.0 tests/rackspace/models/identity/users_tests.rb
fog-2.0.0.pre.0 tests/rackspace/models/identity/users_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/rackspace/models/identity/users_tests.rb
fog-1.34.0 tests/rackspace/models/identity/users_tests.rb
fog-1.33.0 tests/rackspace/models/identity/users_tests.rb
fog-1.32.0 tests/rackspace/models/identity/users_tests.rb
fog-1.31.0 tests/rackspace/models/identity/users_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/rackspace/models/identity/users_tests.rb