Skip to content

Commit

Permalink
remo
Browse files Browse the repository at this point in the history
  • Loading branch information
klobuczek committed Apr 14, 2020
1 parent ac5beb2 commit db013e7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion spec/e2e/association_proxy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
context 'self referencing relationships' do
before { leszek }
it 'fire only one query' do
ActiveGraph::Base.subscribe_to_query(&method(:puts))
expect_queries(1) do
Student.all.order(:name).with_associations(:friends).each do |student|
student.friends.to_a
Expand Down
4 changes: 0 additions & 4 deletions spec/neo4j_spec_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ def neo4j_query(*args)
ActiveGraph::Base.query(*args)
end

def log_queries!
ActiveGraph::Transaction.subscribe_to_query(&method(:puts))
end

def action_controller_params(args)
ActionController::Parameters.new(args)
end
Expand Down

0 comments on commit db013e7

Please sign in to comment.