spec/spec_helper.rb in cicero-0.0.1 vs spec/spec_helper.rb in cicero-0.0.2iain
- old
+ new
@@ -1,8 +1,15 @@
-require 'rubygems'
-require 'bundler/setup'
-require 'cicero/cicero_text'
+# encoding: UTF-8
-require 'cicero' # and any other gems you need
+require "rspec"
+Spec_dir = File.expand_path( File.dirname __FILE__ )
+require_relative '../lib/cicero/cicero_text.rb'
+
+require_relative '../lib/cicero.rb' # and any other gems you need
+
+Dir[ File.join( Spec_dir, "/support/**/*.rb")].each do |f|
+ puts "requiring #{f}"
+ require f
+end
RSpec.configure do |config|
end