aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/nodes/false_test.rb
diff options
context:
space:
mode:
authorMatthew Draper <matthew@trebex.net>2018-02-24 17:15:50 +1030
committerMatthew Draper <matthew@trebex.net>2018-02-24 17:16:13 +1030
commit4c0a3d48804a363c7e9272519665a21f601b5248 (patch)
tree6b1f6e28f85cfd69a0ce534856ef939c7079d5cf /activerecord/test/cases/arel/nodes/false_test.rb
parent17ca17072dcdff11b3702a6b45f2fb0c8f8fe9a4 (diff)
downloadrails-4c0a3d48804a363c7e9272519665a21f601b5248.tar.gz
rails-4c0a3d48804a363c7e9272519665a21f601b5248.tar.bz2
rails-4c0a3d48804a363c7e9272519665a21f601b5248.zip
Arel: rubocop -a
Diffstat (limited to 'activerecord/test/cases/arel/nodes/false_test.rb')
-rw-r--r--activerecord/test/cases/arel/nodes/false_test.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/activerecord/test/cases/arel/nodes/false_test.rb b/activerecord/test/cases/arel/nodes/false_test.rb
index 8b91dc227c..4ecf8e332e 100644
--- a/activerecord/test/cases/arel/nodes/false_test.rb
+++ b/activerecord/test/cases/arel/nodes/false_test.rb
@@ -1,16 +1,17 @@
# frozen_string_literal: true
-require_relative '../helper'
+
+require_relative "../helper"
module Arel
module Nodes
- describe 'False' do
- describe 'equality' do
- it 'is equal to other false nodes' do
+ describe "False" do
+ describe "equality" do
+ it "is equal to other false nodes" do
array = [False.new, False.new]
assert_equal 1, array.uniq.size
end
- it 'is not equal with other nodes' do
+ it "is not equal with other nodes" do
array = [False.new, Node.new]
assert_equal 2, array.uniq.size
end
@@ -18,4 +19,3 @@ module Arel
end
end
end
-