diff options
author | Matthew Draper <matthew@trebex.net> | 2018-02-24 17:15:50 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2018-02-24 17:16:13 +1030 |
commit | 4c0a3d48804a363c7e9272519665a21f601b5248 (patch) | |
tree | 6b1f6e28f85cfd69a0ce534856ef939c7079d5cf /activerecord/test/cases/arel/nodes_test.rb | |
parent | 17ca17072dcdff11b3702a6b45f2fb0c8f8fe9a4 (diff) | |
download | rails-4c0a3d48804a363c7e9272519665a21f601b5248.tar.gz rails-4c0a3d48804a363c7e9272519665a21f601b5248.tar.bz2 rails-4c0a3d48804a363c7e9272519665a21f601b5248.zip |
Arel: rubocop -a
Diffstat (limited to 'activerecord/test/cases/arel/nodes_test.rb')
-rw-r--r-- | activerecord/test/cases/arel/nodes_test.rb | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/activerecord/test/cases/arel/nodes_test.rb b/activerecord/test/cases/arel/nodes_test.rb index 1934ef4c3b..9021de0d20 100644 --- a/activerecord/test/cases/arel/nodes_test.rb +++ b/activerecord/test/cases/arel/nodes_test.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true -require_relative 'helper' + +require_relative "helper" module Arel module Nodes @@ -24,12 +25,10 @@ module Arel eqeq_owner == hash_owner end - problem_msg = 'Some subclasses of Arel::Nodes::Node do not have a' \ - ' #== or #eql? or #hash defined from the same class as the others' + problem_msg = "Some subclasses of Arel::Nodes::Node do not have a" \ + " #== or #eql? or #hash defined from the same class as the others" assert_empty bad_node_descendants, problem_msg end - - end end end |