Sha256: 076e5acb7310897729816b7663396b6ac13ad5291882657b7616a740c4e0476e
Contents?: true
Size: 705 Bytes
Versions: 27
Compression:
Stored size: 705 Bytes
Contents
# frozen_string_literal: true # encoding: utf-8 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
27 entries across 27 versions & 2 rubygems