aboutsummaryrefslogtreecommitdiffstats
path: root/spec/active_relation/predicates/equality_spec.rb
diff options
context:
space:
mode:
authorNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-13 18:31:35 -0800
committerNick Kallen <nkallen@nick-kallens-computer-2.local>2008-01-13 18:31:35 -0800
commitbc4f6b8a29fc96c05efe0304ce7fad075818d2a2 (patch)
tree75f1b67bddf5ce5e247f57c5f9d8f8bde05c1f51 /spec/active_relation/predicates/equality_spec.rb
parent2e63ac91302e2df397a286fdaf9cea51635071a6 (diff)
downloadrails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.tar.gz
rails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.tar.bz2
rails-bc4f6b8a29fc96c05efe0304ce7fad075818d2a2.zip
experimenting with strategy pattern rather than conditional; not as terse, nor transparent, but i still feel it's better
Diffstat (limited to 'spec/active_relation/predicates/equality_spec.rb')
-rw-r--r--spec/active_relation/predicates/equality_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/active_relation/predicates/equality_spec.rb b/spec/active_relation/predicates/equality_spec.rb
index b3c7b597a0..9394e63835 100644
--- a/spec/active_relation/predicates/equality_spec.rb
+++ b/spec/active_relation/predicates/equality_spec.rb
@@ -22,4 +22,7 @@ describe ActiveRelation::Predicates::Equality do
ActiveRelation::Predicates::Equality.new(@attribute1, @attribute2).should == ActiveRelation::Predicates::Equality.new(@attribute2, @attribute1)
end
end
+
+ describe '#to_sql' do
+ end
end \ No newline at end of file