Sha256: a160d383802049aaa05f608035721582d42557175a6a9df3ec99715c3e1bab2d
Contents?: true
Size: 699 Bytes
Versions: 59
Compression:
Stored size: 699 Bytes
Contents
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
59 entries across 55 versions & 3 rubygems