Sha256: a0ae7d142862705ca5721e42bb1c43fc4d9529981ccba82b6a8b9f083f8a0436
Contents?: true
Size: 681 Bytes
Versions: 4
Compression:
Stored size: 681 Bytes
Contents
require 'rubygems' require 'spec' # Loads various ruby files and application stacks for testing purposes module DomainSlice module TestHelpers class << self def require_domain_slice! require File.join(File.dirname(__FILE__), %w[.. lib domain_slice]) end def require_middleware! require 'rack' require File.join(File.dirname(__FILE__), %w[.. lib domain_slice middleware]) end def require_rails! # Load whatever is needed to test domain slice integration with rails # require 'rails' require File.join(File.dirname(__FILE__), %w[.. lib domain_slice rails]) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems