Sha256: 2d9b1b372951c5f20a5b09ce7156078a5ec04604721c6f56d61cad9e910cc30e
Contents?: true
Size: 702 Bytes
Versions: 73
Compression:
Stored size: 702 Bytes
Contents
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
73 entries across 68 versions & 6 rubygems