spec/lib/using_spec.rb in connection_manager-1.1.5 vs spec/lib/using_spec.rb in connection_manager-2.0.0
- old
+ new
@@ -41,10 +41,10 @@
end
context 'A shard like connection' do
it "should use other connection" do
fruit = FactoryGirl.create(:fruit)
- expect(Fruit.using("OtherConnection").where(:name => fruit.name).exists?).to be_false
+ expect(Fruit.using("OtherConnection").where(:name => fruit.name).exists?).to eql(false)
end
end
context "`klass` comparators should work" do
context "Proxy to non proxy" do