spec/neoid_spec.rb in neoid-0.0.51 vs spec/neoid_spec.rb in neoid-0.1
- old
+ new
@@ -1,5 +1,11 @@
require 'spec_helper'
describe Neoid do
-
+ context "subrefs" do
+ it "should create all subrefs on initialization" do
+ Neoid.node_models.each do |klass|
+ klass.instance_variable_get(:@neo_subref_node).should_not be_nil
+ end
+ end
+ end
end
\ No newline at end of file