Sha256: e821dcdebf93696c528edd496adf8ae1c430cca3ffa472c73cefb26a18da1229
Contents?: true
Size: 546 Bytes
Versions: 11
Compression:
Stored size: 546 Bytes
Contents
require 'rubygems' require 'spec/expectations' orm = ENV['ORM'] strategy = ENV['STRATEGY'] if orm && strategy begin require "#{File.dirname(__FILE__)}/../../lib/#{orm}" rescue LoadError raise "You don't have the #{orm} ORM installed" end $:.unshift(File.dirname(__FILE__) + '/../../../lib') require 'database_cleaner' require 'database_cleaner/cucumber' DatabaseCleaner.strategy = strategy.to_sym else raise "Run 'ORM=activerecord|datamapper STRATEGY=transaction|truncation cucumber examples/features'" end
Version data entries
11 entries across 11 versions & 7 rubygems