lafcadio 0.5.2 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +0,0 @@
1
- require 'runit/testcase'
2
- require 'lafcadio/mock'
3
- require 'lafcadio/util'
4
-
5
- # A test case that sets up a number of mock services. In writing an application
6
- # that uses Lafcadio you may find it convenient to inherit from this class.
7
- class LafcadioTestCase < RUNIT::TestCase
8
- include Lafcadio
9
-
10
- def setup
11
- context = Context.instance
12
- context.flush
13
- @mockObjectStore = MockObjectStore.new
14
- ObjectStore.set_object_store @mockObjectStore
15
- LafcadioConfig.set_filename 'lafcadio/test/testConfig.dat'
16
- end
17
- end