features/support/env.rb in moneypools-thinking-sphinx-1.2.13 vs features/support/env.rb in moneypools-thinking-sphinx-1.3.1
- old
+ new
@@ -1,6 +1,18 @@
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'
+
+require 'cucumber/thinking_sphinx/internal_world'
+
+world = Cucumber::ThinkingSphinx::InternalWorld.new
+world.configure_database
+
+require 'thinking_sphinx'
+
+world.setup