Skip to content

Commit

Permalink
Address one failure
Browse files Browse the repository at this point in the history
  • Loading branch information
yahonda committed Jul 31, 2018
1 parent d6ae028 commit 2dc2ef9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class ::TestPost < ActiveRecord::Base
it "should return array from indexes with bind usage" do
expect(@conn.indexes("TEST_POSTS").class).to eq Array
expect(@logger.logged(:debug).last).to match(/:owner/)
expect(@logger.logged(:debug).last).to match(/\[\["owner", "#{DATABASE_USER.upcase}"\], \["owner", "#{DATABASE_USER.upcase}"\]\]/)
expect(@logger.logged(:debug).last).to match(/\[\["owner", "#{DATABASE_USER.upcase}"\], \["owner", "#{DATABASE_USER.upcase}"\], \["table_name", "TEST_POSTS"\]\]/)
end

it "should not have primary key trigger with bind usage" do
Expand Down

0 comments on commit 2dc2ef9

Please sign in to comment.