Sha256: 90a8ef3b4366a1d441e183a0303a2407fb8b3ab3deb853b31cda5613b3a75953
Contents?: true
Size: 669 Bytes
Versions: 63
Compression:
Stored size: 669 Bytes
Contents
require 'rubygems' # Set environment to test ENV['RHO_ENV'] = 'test' ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__),'..')) Bundler.require(:default, ENV['RHO_ENV'].to_sym) # Try to load vendor-ed rhoconnect, otherwise load the gem begin require 'vendor/rhoconnect/lib/rhoconnect' rescue LoadError require 'rhoconnect' end $:.unshift File.join(File.dirname(__FILE__), "..") # Load our rhoconnect application require 'application' include Rhoconnect require 'rhoconnect/test_methods' shared_examples_for "SpecHelper" do include Rhoconnect::TestMethods before(:each) do Store.db.flushdb Application.initializer(ROOT_PATH) end end
Version data entries
63 entries across 21 versions & 1 rubygems