Sha256: c0eb2147ab06bc7bffa8885c0934e5f9f6e4d1d762262cb10e425b1e438924d4
Contents?: true
Size: 700 Bytes
Versions: 14
Compression:
Stored size: 700 Bytes
Contents
require "spec_helper" describe Mongoid::Errors::MixedSessionConfiguration 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
14 entries across 14 versions & 5 rubygems