Add attribute for token expiration time.

Change-Id: I113be79142cf288badd60194d717b14cabcba736
This commit is contained in:
Hugh Saunders
2014-02-12 15:25:08 +00:00
parent c5178a623f
commit 1cf0440d63
5 changed files with 10 additions and 3 deletions

View File

@@ -340,6 +340,11 @@ describe 'openstack-identity::server' do
r = line_regexp('driver = keystone.token.backends.sql.Token')
expect(chef_run).to render_file(path).with_content(r)
end
it 'sets token expiration time' do
r = line_regexp('expiration = 86400')
expect(chef_run).to render_file(path).with_content(r)
end
end
describe '[policy] section' do