Sha256: 5f41703763c04712c2075ed54172617961c4229bde4312b8f30d8ce2fdb35e6f
Contents?: true
Size: 730 Bytes
Versions: 29
Compression:
Stored size: 730 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Mongoid::Errors::MixedClientConfiguration do describe "#message" do let(:error) do described_class.new(:testing, { uri: "blah" }) end it "contains the problem in the message" do expect(error.message).to include( "Both uri and standard configuration options defined" ) end it "contains the summary in the message" do expect(error.message).to include( "Instead of simply giving uri or standard options a preference" ) end it "contains the resolution in the message" do expect(error.message).to include( "Provide either only a uri as configuration" ) end end end
Version data entries
29 entries across 29 versions & 1 rubygems