Sha256: 7fc53f79a73a2bd3da3cc933b0e47b1a1a5e3cd632280f9c80399649c08353b8
Contents?: true
Size: 708 Bytes
Versions: 29
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Mongoid::Errors::InvalidConfigFile do describe "#message" do let(:error) do described_class.new('/my/path') end it "contains the problem in the message" do expect(error.message).to include( "Invalid configuration file: /my/path." ) end it "contains the summary in the message" do expect(error.message).to include( "Your mongoid.yml configuration file does not contain the" ) end it "contains the resolution in the message" do expect(error.message).to include( "Ensure your configuration file contains the correct contents." ) end end end
Version data entries
29 entries across 29 versions & 1 rubygems