Sha256: 86ec2d37340f1d13f3edec299f7aefb3756e56168705e1ad8312dd5b584a07e9
Contents?: true
Size: 690 Bytes
Versions: 3
Compression:
Stored size: 690 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 error.message.should include( "No output location was specified for the map/reduce operation." ) end it "contains the summary in the message" do error.message.should include( "When executing a map/reduce, you must provide the output location" ) end it "contains the resolution in the message" do error.message.should include( "Provide the location that the output of the operation" ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems