aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorBryan Helmkamp <bryan@brynary.com>2008-01-14 11:41:31 -0500
committerBryan Helmkamp <bryan@brynary.com>2008-01-14 11:41:31 -0500
commitb5a2057fcd5dfcac3682a565f2ba15281f5dcbb2 (patch)
tree2e31b6d154bcee0016964527d2d03cc02101937a /spec
parent124b104ae82aad8687d9f266de086d343b2b037c (diff)
downloadrails-b5a2057fcd5dfcac3682a565f2ba15281f5dcbb2.tar.gz
rails-b5a2057fcd5dfcac3682a565f2ba15281f5dcbb2.tar.bz2
rails-b5a2057fcd5dfcac3682a565f2ba15281f5dcbb2.zip
Removed dupe spec
Diffstat (limited to 'spec')
-rw-r--r--spec/active_relation/predicates/match_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/active_relation/predicates/match_spec.rb b/spec/active_relation/predicates/match_spec.rb
deleted file mode 100644
index 3d01ce1055..0000000000
--- a/spec/active_relation/predicates/match_spec.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')
-
-module ActiveRelation
- describe RelationInclusion do
- before do
- @relation1 = Table.new(:foo)
- @relation2 = Table.new(:bar)
- @attribute = @relation1[:baz]
- end
-
- describe RelationInclusion, '==' do
- it "obtains if attribute1 and attribute2 are identical" do
- RelationInclusion.new(@attribute, @relation1).should == RelationInclusion.new(@attribute, @relation1)
- RelationInclusion.new(@attribute, @relation1).should_not == RelationInclusion.new(@attribute, @relation2)
- end
- end
- end
-end \ No newline at end of file