aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/nodes/and_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/cases/arel/nodes/and_test.rb')
-rw-r--r--activerecord/test/cases/arel/nodes/and_test.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/activerecord/test/cases/arel/nodes/and_test.rb b/activerecord/test/cases/arel/nodes/and_test.rb
index de63e0bb31..eff54abd91 100644
--- a/activerecord/test/cases/arel/nodes/and_test.rb
+++ b/activerecord/test/cases/arel/nodes/and_test.rb
@@ -1,21 +1,21 @@
# frozen_string_literal: true
-require_relative '../helper'
+
+require_relative "../helper"
module Arel
module Nodes
- describe 'And' do
- describe 'equality' do
- it 'is equal with equal ivars' do
- array = [And.new(['foo', 'bar']), And.new(['foo', 'bar'])]
+ describe "And" do
+ describe "equality" do
+ it "is equal with equal ivars" do
+ array = [And.new(["foo", "bar"]), And.new(["foo", "bar"])]
assert_equal 1, array.uniq.size
end
- it 'is not equal with different ivars' do
- array = [And.new(['foo', 'bar']), And.new(['foo', 'baz'])]
+ it "is not equal with different ivars" do
+ array = [And.new(["foo", "bar"]), And.new(["foo", "baz"])]
assert_equal 2, array.uniq.size
end
end
end
end
end
-