Skip to content

Commit

Permalink
Merge pull request maxdemarzi#47 from wcamarao/dev
Browse files Browse the repository at this point in the history
Remove neo 2 specific spec
  • Loading branch information
Wagner Camarao committed Oct 16, 2013
2 parents ced0b7c + ef28e98 commit a2fc90c
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions spec/finders_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -146,30 +146,4 @@ class HasHate < Relationship; end
end
end

describe "in transactions" do
context "updating multiple nodes" do
before :each do
@u_node1 = Person.find_by_neo_id(@first_node.id)
@u_node2 = Person.find_by_neo_id(@second_node.id)
end

it "should do some shit" do
@u_node1.name = "shark"
@u_node2.name = "speak"

Deja::Transaction.commit do
@u_node1.save()
@u_node2.save()
end

@u_node1_new = Person.find_by_neo_id(@first_node.id)
@u_node2_new = Person.find_by_neo_id(@second_node.id)

expect(@u_node1_new.name).to eq("shark")
expect(@u_node2_new.name).to eq("speak")
end

end
end

end

0 comments on commit a2fc90c

Please sign in to comment.