Skip to content

Commit

Permalink
respond_to? > is_a? for Embedded in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
subvertallchris committed Jun 24, 2015
1 parent 56fb3a2 commit 6c33421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/shared_examples/node_with_tx.rb
Expand Up @@ -94,7 +94,7 @@
tx = Neo4j::Transaction.new
result = Neo4j::Session.current.query.match(p: :Person).pluck('collect(p)').first
expect(result).to be_a(Array)
expect(result.first).to be_a(Neo4j::Node)
expect(result.first).to respond_to(:neo_id)
expect(result.first.labels).to include(:Person)
ensure
tx.close
Expand Down

0 comments on commit 6c33421

Please sign in to comment.