Sha256: b6ac422f34507e3be748740e3285dc7ce5318148b0302a3483e45be77d135461
Contents?: true
Size: 575 Bytes
Versions: 5
Compression:
Stored size: 575 Bytes
Contents
require 'rubygems' require 'spec/expectations' orm = ENV['ORM'] strategy = ENV['STRATEGY'] if orm && strategy begin require "#{File.dirname(__FILE__)}/../../lib/#{orm}_models" 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|mongomapper|couchpotato STRATEGY=transaction|truncation cucumber examples/features'" end
Version data entries
5 entries across 5 versions & 3 rubygems