1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/rackspace/models/identity/credentials_tests.rb

16 lines
364 B
Ruby

Shindo.tests('Fog::Rackspace::Identity | credentials', ['rackspace']) do
pending if Fog.mocking?
service = Fog::Rackspace::Identity.new
user = service.users.all.first
tests("#all").succeeds do
user.credentials.all
end
tests("#get").succeeds do
credential = user.credentials.all.first
user.credentials.get(credential.identity)
end
end