Sha256: 2bbb19eb125fd603bdbfc15ef28686a174b0a3c41461aa8774be8b26926461be
Contents?: true
Size: 584 Bytes
Versions: 12
Compression:
Stored size: 584 Bytes
Contents
RSpec.describe Evil::Client::DefinitionError, "#message" do let(:error) { described_class.new schema, keys, settings, original } let(:keys) { [:path] } let(:schema) { "Test::Api.users.update" } let(:settings) { :my_settings } let(:original) { "something got wrong" } subject { error.message } it "builds a proper error message" do expect(error.message).to include "failed to resolve path" \ " from Test::Api.users.update schema" \ " for my_settings: something got wrong" end end
Version data entries
12 entries across 12 versions & 1 rubygems