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