aboutsummaryrefslogtreecommitdiffstats
path: root/spec/active_relation/relations/compound_spec.rb
blob: 6309547c7d5497a8c94ea0e058fc32fbebf2caa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require File.join(File.dirname(__FILE__), '..', '..', 'spec_helper')

module ActiveRelation
  describe Compound do
    before do
      @relation = Table.new(:users)
    
      class ConcreteCompound < Compound
        def initialize(relation)
          @relation = relation
        end
      end
    end
  end
end