summaryrefslogtreecommitdiff
path: root/vendor/gems/couchrest_session_store/test/test_helper.rb
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2016-03-23 21:53:29 +0100
committerAzul <azul@riseup.net>2016-05-02 08:23:33 -0300
commit16da29309cdb117e2ac40eb93286fc265c3135d5 (patch)
treef77a85db57d7c644567f1f0a6bae64aaa7701a7e /vendor/gems/couchrest_session_store/test/test_helper.rb
parent065859b90cc5ef403b8f47bd5394b343e556cc4d (diff)
vendoring couchrest session store for development
0.4.0 has not been released yet. But travis needs it to run. So i vendor it for now. Will remove it again when the build is getting stable.
Diffstat (limited to 'vendor/gems/couchrest_session_store/test/test_helper.rb')
-rw-r--r--vendor/gems/couchrest_session_store/test/test_helper.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/gems/couchrest_session_store/test/test_helper.rb b/vendor/gems/couchrest_session_store/test/test_helper.rb
new file mode 100644
index 0000000..32f147d
--- /dev/null
+++ b/vendor/gems/couchrest_session_store/test/test_helper.rb
@@ -0,0 +1,9 @@
+require "rubygems"
+gem 'minitest'
+require 'minitest/autorun'
+require File.expand_path(File.dirname(__FILE__) + '/../lib/couchrest_session_store.rb')
+require File.expand_path(File.dirname(__FILE__) + '/couch_tester.rb')
+require File.expand_path(File.dirname(__FILE__) + '/test_clock.rb')
+
+# Create the session db if it does not already exist.
+CouchRest::Session::Document.create_database!