Sha256: 8a75e0ea8e5a7c893d08aecbdc48941b07c0ac40626f8edcf60169f99b121b46
Contents?: true
Size: 733 Bytes
Versions: 29
Compression:
Stored size: 733 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Mongoid::Errors::NoMapReduceOutput do describe "#message" do let(:error) do described_class.new(query: {}) end it "contains the problem in the message" do expect(error.message).to include( "No output location was specified for the map/reduce operation." ) end it "contains the summary in the message" do expect(error.message).to include( "When executing a map/reduce, you must provide the output location" ) end it "contains the resolution in the message" do expect(error.message).to include( "Provide the location that the output of the operation" ) end end end
Version data entries
29 entries across 29 versions & 1 rubygems