Sha256: ca4367692db3e3f460d7a7d80316eae5b9bea305599838c17ac15f88911c5ad1
Contents?: true
Size: 509 Bytes
Versions: 5
Compression:
Stored size: 509 Bytes
Contents
require 'rubygems' # Set environment to test ENV['RHO_ENV'] = 'test' ROOT_PATH = ENV['ROOT_PATH'] # 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
5 entries across 5 versions & 1 rubygems