Sha256: f0bfe9c695041f7b3db7d6d09f5d27fc899e17574eb7b02916bb38100ca0755a
Contents?: true
Size: 656 Bytes
Versions: 59
Compression:
Stored size: 656 Bytes
Contents
require "spec_helper" describe Mongoid::Errors::NoClientsConfig do describe "#message" do let(:error) do described_class.new end it "contains the problem in the message" do expect(error.message).to include( "No clients configuration provided." ) end it "contains the summary in the message" do expect(error.message).to include( "Mongoid's configuration requires that you provide details" ) end it "contains the resolution in the message" do expect(error.message).to include( "Double check your mongoid.yml to make sure that you have" ) end end end
Version data entries
59 entries across 55 versions & 3 rubygems