spec/objects_spec.rb in knjrbfw-0.0.67 vs spec/objects_spec.rb in knjrbfw-0.0.68
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
describe "Objects" do
it "should be able to cache rows" do
- require "~/Dev/Ruby/array_enumerator/lib/array_enumerator"
+ require "#{File.dirname(__FILE__)}/../../array_enumerator/lib/array_enumerator"
require "sqlite3" if RUBY_ENGINE != "jruby"
$db_path = "#{Knj::Os.tmpdir}/knjrbfw_objects_cache_test.sqlite3"
File.unlink($db_path) if File.exists?($db_path)
$db = Knj::Db.new(:type => :sqlite3, :path => $db_path, :return_keys => "symbols", :debug => false)
\ No newline at end of file