Permalink
Browse files

use tmpdir

  • Loading branch information...
1 parent 1a80833 commit 3ed58049aed0e677dbadb33c9f5a58f793d936f6 @josh josh committed Feb 22, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 test/openid_server.ru
View
@@ -1,4 +1,5 @@
require 'rots'
+require 'tempfile'
config = {
'identity' => 'john.doe',
@@ -16,5 +17,5 @@ map("/%s" % config['identity']) do
end
map '/server' do
- run Rots::ServerApp.new(config, :storage => File.join('.', 'tmp', 'rots'))
+ run Rots::ServerApp.new(config, :storage => Dir.tmpdir)
end

0 comments on commit 3ed5804

Please sign in to comment.