Sha256: 36414fa7969b89118867bf748a562767a9a38dcb1cdbb942a3da603c4c680774
Contents?: true
Size: 523 Bytes
Versions: 7
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe ConnectionManager::Relation do context 'ActiveRecord::Relation' do describe '#using' do it "should be defined" do expect(Fruit.where(:id => 1)).to respond_to(:using) end end describe '#slaves' do it "should be defined" do expect(Fruit.where(:id => 1)).to respond_to(:slaves) end end describe '#masters' do it "should be defined" do expect(Fruit.where(:id => 1)).to respond_to(:masters) end end end end
Version data entries
7 entries across 7 versions & 1 rubygems