diff options
author | Yves Senn <yves.senn@gmail.com> | 2014-03-30 12:22:00 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2014-03-30 12:22:00 +0200 |
commit | 593e6978656e3dd07683d2add186b72c9fbad683 (patch) | |
tree | b1e44807952dbb849e608a84aa80a4c6c7da0f27 /activerecord/test/cases/helper.rb | |
parent | 03bf81a5040f08970fc5d091af38d6e2afc7113c (diff) | |
parent | 0264762fea55f51c92b477ae7d65fa87179f095d (diff) | |
download | rails-593e6978656e3dd07683d2add186b72c9fbad683.tar.gz rails-593e6978656e3dd07683d2add186b72c9fbad683.tar.bz2 rails-593e6978656e3dd07683d2add186b72c9fbad683.zip |
Merge pull request #14474 from tgxworld/table_cleanup_after_each_test
Refactor test to use DdlHelper.
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r-- | activerecord/test/cases/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 8a49dfbb44..5ed508a799 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -168,7 +168,7 @@ class SQLSubscriber def start(name, id, payload) @payloads << payload - @logged << [payload[:sql], payload[:name], payload[:binds]] + @logged << [payload[:sql].squish, payload[:name], payload[:binds]] end def finish(name, id, payload); end |