Skip to content

Commit

Permalink
Load the class outside the transaction so that we create the constrai…
Browse files Browse the repository at this point in the history
…nt outside of the transaction where data is change
  • Loading branch information
cheerfulstoic committed Sep 17, 2014
1 parent e93729b commit e21b25a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/e2e/transaction_spec.rb
Expand Up @@ -32,6 +32,7 @@
end

if Neo4j::Session.current.db_type == :embedded_db
clazz
tx = Neo4j::Transaction.new
a = clazz.create name: 'a'
b = clazz.create name: 'b'
Expand Down

0 comments on commit e21b25a

Please sign in to comment.