spec/integration/tree_spec.rb in dm-is-tree-0.9.11 vs spec/integration/tree_spec.rb in dm-is-tree-0.10.0
- old
+ new
@@ -1,11 +1,11 @@
-require File.dirname(__FILE__) + "/../spec_helper"
+require 'spec_helper'
if HAS_SQLITE3 || HAS_MYSQL || HAS_POSTGRES
describe DataMapper::Is::Tree do
- class ::Category
+ class Category
include DataMapper::Resource
property :id, Serial
property :parent_id, Integer
property :name, String