Sha256: 35220877a8ee93cfdb97fd2041e6e7dd1150dfc6f0a4542be958029d6ac11e30
Contents?: true
Size: 411 Bytes
Versions: 17
Compression:
Stored size: 411 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe ThinkingSphinx::ActiveRecord::Association do let(:association) { ThinkingSphinx::ActiveRecord::Association.new column } let(:column) { double('column', :__stack => [:users], :__name => :post) } describe '#stack' do it "returns the column's stack and name" do expect(association.stack).to eq([:users, :post]) end end end
Version data entries
17 entries across 17 versions & 1 rubygems