aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/nodes/true_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/arel/nodes/true_test.rb')
-rw-r--r--activerecord/test/cases/arel/nodes/true_test.rb13
1 files changed, 6 insertions, 7 deletions
diff --git a/activerecord/test/cases/arel/nodes/true_test.rb b/activerecord/test/cases/arel/nodes/true_test.rb
index 198e7b1aa4..1e85fe7d48 100644
--- a/activerecord/test/cases/arel/nodes/true_test.rb
+++ b/activerecord/test/cases/arel/nodes/true_test.rb
@@ -1,16 +1,17 @@
# frozen_string_literal: true
-require_relative '../helper'
+
+require_relative "../helper"
module Arel
module Nodes
- describe 'True' do
- describe 'equality' do
- it 'is equal to other true nodes' do
+ describe "True" do
+ describe "equality" do
+ it "is equal to other true nodes" do
array = [True.new, True.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 = [True.new, Node.new]
assert_equal 2, array.uniq.size
end
@@ -18,5 +19,3 @@ module Arel
end
end
end
-
-