Sha256: f751f427c67261ef759e0eabca54f87851233d51ba9fab3a0bf723d42ff0470a
Contents?: true
Size: 549 Bytes
Versions: 42
Compression:
Stored size: 549 Bytes
Contents
require 'rubygems' # Set environment to test ENV['RHO_ENV'] = 'test' ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__),'..')) # Try to load vendor-ed rhosync, otherwise load the gem begin require 'vendor/rhosync/lib/rhosync' rescue LoadError require 'rhosync' end # Load our rhosync application require 'application' include Rhosync require 'rhosync/test_methods' describe "SpecHelper", :shared => true do include Rhosync::TestMethods before(:each) do Store.db.flushdb Application.initializer(ROOT_PATH) end end
Version data entries
42 entries across 42 versions & 1 rubygems