Sha256: 16b4d44b6bf838e6e771bcaba596f538e294710054631b9340e17e3e127aad22
Contents?: true
Size: 707 Bytes
Versions: 7
Compression:
Stored size: 707 Bytes
Contents
require 'rubygems' require 'fileutils' require 'bundler' Bundler.require :default, :development $:.unshift File.dirname(__FILE__) + '/../../lib' Dir[File.join(File.dirname(__FILE__), '../../vendor/*/lib')].each do |path| $:.unshift path end require 'active_support/core_ext/class/inheritable_attributes' require 'active_record' require 'cucumber/thinking_sphinx/internal_world' world = Cucumber::ThinkingSphinx::InternalWorld.new world.configure_database require 'thinking_sphinx' ActiveRecord::Base.send(:include, ThinkingSphinx::ActiveRecord) ActiveSupport::Inflector.inflections do |inflect| inflect.plural /^(.*)beta$/i, '\1betas' inflect.singular /^(.*)betas$/i, '\1beta' end world.setup
Version data entries
7 entries across 7 versions & 1 rubygems