Sha256: 61db1cc3b8d9ee7f42227a3c95ac886a1c512c6512bb9ad2409961f81cc10b15

Contents?: true

Size: 644 Bytes

Versions: 3

Compression:

Stored size: 644 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_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

3 entries across 3 versions & 2 rubygems

Version Path
sayso-thinking-sphinx-2.0.3.002 features/support/env.rb
sayso-thinking-sphinx-2.0.3.001 features/support/env.rb
thinking-sphinx-2.0.4 features/support/env.rb