features/support/env.rb in warp-thinking-sphinx-1.2.12 vs features/support/env.rb in warp-thinking-sphinx-1.3.10

- old
+ new

@@ -1,6 +1,21 @@ require 'rubygems' require 'cucumber' require 'spec' require 'fileutils' require 'ginger' -require 'will_paginate' \ No newline at end of file +require 'will_paginate' +require 'active_record' + +$:.unshift File.dirname(__FILE__) + '/../../lib' +Dir[File.join(File.dirname(__FILE__), '../../vendor/*/lib')].each do |path| + $:.unshift path +end + +require 'cucumber/thinking_sphinx/internal_world' + +world = Cucumber::ThinkingSphinx::InternalWorld.new +world.configure_database + +require "thinking_sphinx" + +world.setup