spec/spec_helper.rb in royw-imdb-0.1.1 vs spec/spec_helper.rb in royw-imdb-0.1.2
- old
+ new
@@ -1,5 +1,13 @@
-require File.dirname(__FILE__) + '/../lib/imdb'
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require File.dirname(__FILE__) + '/cache_extensions'
+require 'imdb'
$samples_dir = File.dirname(__FILE__) + '/samples'
+
+require 'cache_extensions'
+CacheExtensions.attach_to_read_page_classes($samples_dir)
+
+Spec::Runner.configure do |config|
+
+end