aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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