aboutsummaryrefslogtreecommitdiffstats
path: root/spec/active_relation/unit/primitives/attribute_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/active_relation/unit/primitives/attribute_spec.rb')
-rw-r--r--spec/active_relation/unit/primitives/attribute_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/active_relation/unit/primitives/attribute_spec.rb b/spec/active_relation/unit/primitives/attribute_spec.rb
index 08ed6d3621..471ae91b5b 100644
--- a/spec/active_relation/unit/primitives/attribute_spec.rb
+++ b/spec/active_relation/unit/primitives/attribute_spec.rb
@@ -52,6 +52,7 @@ module ActiveRelation
describe Attribute::Congruence do
describe '=~' do
+
it "obtains if the attributes are identical" do
Attribute.new(@relation, :name).should =~ Attribute.new(@relation, :name)
end