Skip to content

Commit

Permalink
remove comments and logger line
Browse files Browse the repository at this point in the history
  • Loading branch information
TSMMark committed Jul 7, 2016
1 parent 9335cb0 commit 63ec30a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/sequel_postgresql_triggers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,9 @@

describe "PostgreSQL Sum Through Many Cache Trigger" do
before do
DB.loggers << Logger.new(STDOUT)
DB.create_table(:parents){integer :id; integer :balance, :default=>0}
DB.create_table(:children){integer :id; integer :amount}
DB.create_table(:links){integer :parent_id; integer :child_id} # integer :id;
DB.create_table(:links){integer :parent_id; integer :child_id}
DB.pgt_sum_through_many_cache(:parents, :id, :balance, :children, :id, :amount, :links, :parent_id, :child_id)
DB[:parents] << {:id=>1}
DB[:parents] << {:id=>2}
Expand Down

0 comments on commit 63ec30a

Please sign in to comment.